]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: fix nvenc_hevc (set 'bf' to zero), fixes #4661
authorJaroslav Kysela <perex@perex.cz>
Tue, 10 Oct 2017 11:28:26 +0000 (13:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 10 Oct 2017 11:28:31 +0000 (13:28 +0200)
src/transcoding/codec/codecs/libs/nvenc.c

index fdbb593267a4aeae48d17c61a2e3f398e24daf30..fe0f523e725b2a5bb226ddb370c966d38161b267 100644 (file)
@@ -297,6 +297,7 @@ tvh_codec_profile_nvenc_hevc_open(tvh_codec_profile_nvenc_t *self,
     if (self->nvenc_profile != FF_PROFILE_UNKNOWN &&
         (s = val2str(self->nvenc_profile, profiletab)) != NULL)
       AV_DICT_SET(opts, "profile", s, 0);
+    AV_DICT_SET_INT(opts, "bf", 0, 0);
     return 0;
 }