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:
Petri Hintukainen 2015-08-31 12:06:16 +03:00 committed by Michael Niedermayer
parent d79c200000
commit 757cb0f286

View File

@ -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;
}