mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 05:55:07 +00:00
lavf/mpegts.c: set some properties for ARIB caption
Some additional properties are set for ARIB caption. * need_parsing = 0 ARIB caption doesn't require any parser. This avoids "parser not found" warning message. * need_context_update = 1 When any profiles are changed, set this flag to notify. Signed-off-by: rcombs <rcombs@rcombs.me>
This commit is contained in:
parent
e1dc78a13d
commit
38bb137e99
@ -2176,8 +2176,12 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
|
||||
|
||||
st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE;
|
||||
st->codecpar->codec_id = AV_CODEC_ID_ARIB_CAPTION;
|
||||
st->codecpar->profile = picked_profile;
|
||||
if (st->codecpar->profile != picked_profile) {
|
||||
st->codecpar->profile = picked_profile;
|
||||
sti->need_context_update = 1;
|
||||
}
|
||||
sti->request_probe = 0;
|
||||
sti->need_parsing = 0;
|
||||
}
|
||||
break;
|
||||
case 0xb0: /* DOVI video stream descriptor */
|
||||
|
Loading…
Reference in New Issue
Block a user