mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
ffmpeg: fix cqp rate control on svtav1
global_quality does not get respected. Specifying via priv_data does work however
This commit is contained in:
@@ -115,6 +115,8 @@ static bool av1_update(struct av1_encoder *enc, obs_data_t *settings)
|
||||
#else
|
||||
av_opt_set(enc->ffve.context->priv_data, "rc", "cqp",
|
||||
0);
|
||||
av_opt_set_int(enc->ffve.context->priv_data, "qp", cqp,
|
||||
0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user