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>
This commit is contained in:
Wenbin Chen 2022-06-20 17:06:31 +08:00 committed by Haihao Xiang
parent 07bcedc232
commit afa20e6db8
1 changed files with 1 additions and 1 deletions

View File

@ -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" },