You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
committed by
Michael Niedermayer
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user