lavc/qsvenc_hevc: restore the default gop size

commit a3c0a3e changed the default settings and expected the runtime can
choose a best value. However the runtime doesn't set a valid gop size
for hevc encoder, hence the output steam is non-seekable, which is
inconvenient to user [1][2]

[1] https://github.com/intel/media-driver/issues/1576
[2] https://ffmpeg.org/pipermail/ffmpeg-user/2023-August/056716.html

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
Haihao Xiang 2023-08-11 14:35:41 +08:00
parent 2ec58055f5
commit a7f24d79b8
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ static const AVClass class = {
static const FFCodecDefault qsv_enc_defaults[] = {
{ "b", "1M" },
{ "refs", "0" },
{ "g", "-1" },
{ "g", "248" },
{ "bf", "-1" },
{ "qmin", "-1" },
{ "qmax", "-1" },