mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
mpegts: fix demuxing PES private stream 2
PES header size is 6 bytes (00 00 01 bf XX XX), not 0. BluRay text subtitles use private stream 2. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
d79c200000
commit
757cb0f286
@ -1054,6 +1054,7 @@ static int mpegts_push_data(MpegTSFilter *filter,
|
||||
pes->st->request_probe = 1;
|
||||
}
|
||||
} else {
|
||||
pes->pes_header_size = 6;
|
||||
pes->state = MPEGTS_PAYLOAD;
|
||||
pes->data_index = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user