]> git.sesse.net Git - ffmpeg/commitdiff
avformat/mpegts: consider stream_type 4 just a hint toward mp3 and not definite
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Dec 2015 19:32:11 +0000 (20:32 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Dec 2015 19:47:25 +0000 (20:47 +0100)
Fixes Ticket 4864

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpegts.c

index 7a905a44e9bf8f660c6fa7bb79002adcc7a082a6..22874e6f834dd6fa0405176e07287bb02bcab684 100644 (file)
@@ -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) {