Commit 757cb0f2 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d79c2000
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment