diff options
author | Li, Zhong <zhong.li@intel.com> | 2017-11-27 11:19:57 -0500 |
---|---|---|
committer | Maxym Dmytrychenko <maxim.d33@gmail.com> | 2017-11-24 19:38:52 +0100 |
commit | b843b343d8a3210ae37a2342b1904a5bd1e5fc6e (patch) | |
tree | d966fb6e1e734512d01a31b3cfbc2287600d3bd1 /libavcodec/qsvenc.h | |
parent | 136e7cf64ce9e78de7158d6720539d51cb96b743 (diff) | |
download | ffmpeg-b843b343d8a3210ae37a2342b1904a5bd1e5fc6e.tar.gz |
qsvenc: cavlc option is only available for h264
Moving option definition to h264 implementation and fixing command line defaults
in order to properly respect cavlc input value
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index a6399040e9..9b0b84b919 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -66,8 +66,7 @@ { "extbrc", "Extended bitrate control", OFFSET(qsv.extbrc), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ { "adaptive_i", "Adaptive I-frame placement", OFFSET(qsv.adaptive_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ { "adaptive_b", "Adaptive B-frame placement", OFFSET(qsv.adaptive_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ -{ "b_strategy", "Strategy to choose between I/P/B-frames", OFFSET(qsv.b_strategy), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ -{ "cavlc", "Enable CAVLC", OFFSET(qsv.cavlc), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE }, \ +{ "b_strategy", "Strategy to choose between I/P/B-frames", OFFSET(qsv.b_strategy), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, typedef struct QSVEncContext { AVCodecContext *avctx; |