summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-24 20:32:11 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-24 20:47:25 +0100
commit4bec36f98c5150b09d45740f3e1c80526e85b676 (patch)
tree52d03ab13a01b8ff44457a9f8261db556409efce /libavformat
parent052e692e85f5d54848e7b8dd69fc1a031d208a45 (diff)
avformat/mpegts: consider stream_type 4 just a hint toward mp3 and not definite
Fixes Ticket 4864 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 7a905a44e9..22874e6f83 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -803,6 +803,8 @@ static int mpegts_set_stream_info(AVStream *st, PESContext *pes,
st->codec->codec_tag = pes->stream_type;
mpegts_find_stream_type(st, pes->stream_type, ISO_types);
+ if (pes->stream_type == 4)
+ st->request_probe = 50;
if ((prog_reg_desc == AV_RL32("HDMV") ||
prog_reg_desc == AV_RL32("HDPR")) &&
st->codec->codec_id == AV_CODEC_ID_NONE) {