Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org>2022-06-20 12:06:31 +0300
committerHaihao Xiang <haihao.xiang@intel.com>2022-06-27 07:09:44 +0300
commitafa20e6db82245807bd0bb181dd22e1b714972cc (patch)
treef9b8d9fc4534c1f58bd9309ecde12763f803b3bd /libavcodec/qsvenc_hevc.c
parent07bcedc232feeb9e30336624f4e9977d47ac43bc (diff)
libavcodec/qsvenc_hevc: Use default value from MSDK to set bf.
Change the default value of "bf" for hevc_qsv to -1. 8 isn't the best choice so let MSDK to decide the number of b frames. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
-rw-r--r--libavcodec/qsvenc_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index da2bf457af..f6027f600b 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -287,7 +287,7 @@ static const FFCodecDefault qsv_enc_defaults[] = {
{ "refs", "0" },
// same as the x264 default
{ "g", "248" },
- { "bf", "8" },
+ { "bf", "-1" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "trellis", "-1" },