summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc_hevc.c
diff options
context:
space:
mode:
authorMaxym Dmytrychenko <maxym.dmytrychenko@intel.com>2015-12-18 09:55:13 +0100
committerAnton Khirnov <anton@khirnov.net>2016-01-01 16:09:14 +0100
commita43905f4ae261bdde87c300901d867b31961f57b (patch)
tree0be42c7cf505cf8465644ec913d7f18d9f87010b /libavcodec/qsvenc_hevc.c
parent9d74012761bc3ee676fe43321d5699e4877fde5b (diff)
qsvenc_hevc: improve the default settings
Use 8 B-frames and modify the GOP size to be a multiple of the B-frame count. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
-rw-r--r--libavcodec/qsvenc_hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index 063dd9d718..343733bdbe 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -240,8 +240,8 @@ static const AVCodecDefault qsv_enc_defaults[] = {
{ "b", "1M" },
{ "refs", "0" },
// same as the x264 default
- { "g", "250" },
- { "bf", "3" },
+ { "g", "248" },
+ { "bf", "8" },
{ "flags", "+cgop" },
{ "b_strategy", "-1" },