You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpeg12dec: fix range for cc_format option
After support was added for DVB 0502 Closed Caption coding, the cc_format option's range was never updated so user cannot select this coding as a forced formatting choice. Fix the range of the option by ending it with the new coding type. Signed-off-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
@ -2686,7 +2686,7 @@ const FFCodec ff_mpeg1video_decoder = {
|
||||
static const AVOption mpeg2video_options[] = {
|
||||
{ "cc_format", "extract a specific Closed Captions format",
|
||||
M2V_OFFSET(cc_format), AV_OPT_TYPE_INT, { .i64 = CC_FORMAT_AUTO },
|
||||
CC_FORMAT_AUTO, CC_FORMAT_DVD, M2V_PARAM, .unit = "cc_format" },
|
||||
CC_FORMAT_AUTO, CC_FORMAT_DVB_0502, M2V_PARAM, .unit = "cc_format" },
|
||||
|
||||
{ "auto", "pick first seen CC substream", 0, AV_OPT_TYPE_CONST,
|
||||
{ .i64 = CC_FORMAT_AUTO }, .flags = M2V_PARAM, .unit = "cc_format" },
|
||||
|
Reference in New Issue
Block a user