You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mpeg: demux ivtv captions
The packets start 'IVT0' or 'ivt0' ('I' = 0x49, 'i' = 0x69). Signed-off-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
@@ -620,6 +620,9 @@ redo:
|
|||||||
} else if (startcode >= 0xfd55 && startcode <= 0xfd5f) {
|
} else if (startcode >= 0xfd55 && startcode <= 0xfd5f) {
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
codec_id = AV_CODEC_ID_VC1;
|
codec_id = AV_CODEC_ID_VC1;
|
||||||
|
} else if (startcode == 0x69 || startcode == 0x49) {
|
||||||
|
type = AVMEDIA_TYPE_SUBTITLE;
|
||||||
|
codec_id = AV_CODEC_ID_IVTV_VBI;
|
||||||
} else {
|
} else {
|
||||||
skip:
|
skip:
|
||||||
/* skip packet */
|
/* skip packet */
|
||||||
|
Reference in New Issue
Block a user