diff options
author | PMunkes <[email protected]> | 2021-03-04 14:07:49 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2021-03-09 23:15:41 +0000 |
commit | 9d5d558501ae56fb91a9ac0855d69d7c69a415e2 (patch) | |
tree | 55a6890d6ba1bd21343c64e5e7c9203e68cbd771 /libhb/encavcodec.c | |
parent | 7ae1c6af628395755bdc9bd10b62b0ff9705bb09 (diff) |
Fix option names in VCE workaround
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r-- | libhb/encavcodec.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index a43175b45..0f84121fb 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -346,11 +346,8 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job ) //Work around an ffmpeg issue mentioned in issue #3447 if (job->vcodec == HB_VCODEC_FFMPEG_VCE_H265) { - av_dict_set( &av_opts, "min_qp_i", 1, 0 ); - av_dict_set( &av_opts, "min_qp_p", 1, 0 ); - - av_dict_set( &av_opts, "max_qp_i", 51, 0 ); - av_dict_set( &av_opts, "max_qp_p", 51, 0 ); + av_dict_set( &av_opts, "qmin", 0, 0 ); + av_dict_set( &av_opts, "qmax", 51, 0 ); } hb_log( "encavcodec: encoding at rc=vbr_peak Bitrate %d", job->vbitrate ); } |