diff mbox series

[FFmpeg-devel,2/2] avcodec/nvenc_hevc: add a53cc option for hevc

Message ID 1593444927-15052-1-git-send-email-lance.lmwang@gmail.com
State New
Headers show
Series Untitled series #1624
Related show

Commit Message

Limin Wang June 29, 2020, 3:35 p.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
 libavcodec/nvenc_hevc.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 45dda3d..6153f9a 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -132,6 +132,8 @@  static const AVOption options[] = {
     { "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 },
+    { "a53cc",        "Use A53 Closed Captions (if available)",
+                                                            OFFSET(a53_cc),       AV_OPT_TYPE_BOOL,  { .i64 = 1 }, 0, 1,       VE },
     { NULL }
 };