summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPMunkes <[email protected]>2021-03-04 15:15:09 +0100
committerScott <[email protected]>2021-03-09 23:15:41 +0000
commit052e3bc18259984b79c7101ef319955e275d5cd6 (patch)
tree360f0b809e5f57c6ef12b6e832b2b0a214cc9433
parent9d5d558501ae56fb91a9ac0855d69d7c69a415e2 (diff)
Pass new entries to av_opts as strings
-rw-r--r--libhb/encavcodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 0f84121fb..278dc926e 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -346,8 +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, "qmin", 0, 0 );
- av_dict_set( &av_opts, "qmax", 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 );
}