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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue