From 9cac1b4b4f1532fb2aeef54799285360656be5eb Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 13 Jan 2016 15:27:00 -0500 Subject: qsvenc: Add private option to replace coder_type Missing from be00ec832c519427cd92218abac77dafdc1d5487. --- libavcodec/qsvenc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/qsvenc.h') diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 97165fc0ed..719e4ece04 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -66,6 +66,7 @@ { "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 }, \ typedef struct QSVEncContext { AVCodecContext *avctx; @@ -120,6 +121,7 @@ typedef struct QSVEncContext { int adaptive_i; int adaptive_b; int b_strategy; + int cavlc; int int_ref_type; int int_ref_cycle_size; -- cgit v1.2.3