diff options
author | Will Kelleher <wkelleher@gogoair.com> | 2015-10-27 12:08:45 -0500 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-30 23:31:12 +0100 |
commit | 0eac93da0fd5baa400ee0a4a6dd8334202e8ada9 (patch) | |
tree | 39184a006a0a6de98e122b63fd44b7277448c76f /libavcodec/qsvenc.h | |
parent | a00cc2e40d40c06e867ab4a07afbbbb3df565b02 (diff) | |
download | ffmpeg-0eac93da0fd5baa400ee0a4a6dd8334202e8ada9.tar.gz |
qsvenc: write a53 caption data to SEI
Signed-off-by: Will Kelleher <wkelleher@gogoair.com>
Previous version reviewed-by: Ivan Uskov <ivan.uskov@nablet.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 2fe46b0415..8627570f13 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -69,6 +69,8 @@ { "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 }, \ +typedef int SetEncodeCtrlCB (AVCodecContext *avctx, + const AVFrame *frame, mfxEncodeCtrl* enc_ctrl); typedef struct QSVEncContext { AVCodecContext *avctx; @@ -131,7 +133,9 @@ typedef struct QSVEncContext { int int_ref_qp_delta; int recovery_point_sei; + int a53_cc; char *load_plugins; + SetEncodeCtrlCB *set_encode_ctrl_cb; } QSVEncContext; int ff_qsv_enc_init(AVCodecContext *avctx, QSVEncContext *q); |