]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/nvenc: add a53cc option for hevc_nvenc
authorTimo Rothenpieler <timo@rothenpieler.org>
Tue, 23 Jun 2020 15:19:22 +0000 (17:19 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Tue, 30 Jun 2020 17:01:54 +0000 (19:01 +0200)
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
libavcodec/nvenc_hevc.c

index 45dda3daac60cd4e4afc3f38a203032baf9c2700..1924e4b148b3811d2880c5668caeb26f80e9c6fb 100644 (file)
@@ -129,6 +129,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 },
     { "tc",           "Use timecode (if available)",        OFFSET(tc),           AV_OPT_TYPE_BOOL,  { .i64 = 1 }, 0, 1,       VE },
     { "dpb_size",     "Specifies the DPB size used for encoding (0 means automatic)",
                                                             OFFSET(dpb_size),     AV_OPT_TYPE_INT,   { .i64 = 0 }, 0, INT_MAX, VE },