[FFmpeg-devel] [PATCH v2 04/11] avformat/options: support AV_DISPOSITION_CAPTIONS_EIA608 as an option
Marth64
marth64 at proxyid.net
Thu Nov 28 03:15:07 EET 2024
Signed-off-by: Marth64 <marth64 at proxyid.net>
---
libavformat/options.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/options.c b/libavformat/options.c
index c8f3390306..309a903c32 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -224,7 +224,8 @@ const AVClass *avformat_get_class(void)
{ "metadata", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_METADATA }, .unit = "disposition" }, \
{ "dependent", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_DEPENDENT }, .unit = "disposition" }, \
{ "still_image", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_STILL_IMAGE }, .unit = "disposition" }, \
- { "multilayer", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_MULTILAYER }, .unit = "disposition" }
+ { "multilayer", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_MULTILAYER }, .unit = "disposition" }, \
+ { "captions_eia608", .type = AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_CAPTIONS_EIA608 }, .unit = "disposition" }
static const AVOption stream_options[] = {
DISPOSITION_OPT(AVStream),
--
2.34.1
More information about the ffmpeg-devel
mailing list