summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc_h264.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2018-08-21 14:28:15 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2018-08-21 15:14:56 +0200
commitdc2d56a66b8ad8bc5b07a5cc9c0608a67d5c2ae2 (patch)
treef7dc5ab09ab7119e01bab2b0303195399ec537eb /libavcodec/nvenc_h264.c
parent6972dae5a494fb69836343ea0e8d430769177c5d (diff)
avcodec/nvenc: add option to turn off a53 closed caption embedding
Diffstat (limited to 'libavcodec/nvenc_h264.c')
-rw-r--r--libavcodec/nvenc_h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index d446f9b33c..a6623f5f35 100644
--- a/libavcodec/nvenc_h264.c
+++ b/libavcodec/nvenc_h264.c
@@ -137,6 +137,7 @@ static const AVOption options[] = {
{ "each", "", 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0, VE, "b_ref_mode" },
{ "middle", "", 0, AV_OPT_TYPE_CONST, { .i64 = 2 }, 0, 0, VE, "b_ref_mode" },
#endif
+ { "a53cc", "Use A53 Closed Captions (if available)", OFFSET(a53_cc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE },
{ NULL }
};