[FFmpeg-devel] [PATCH] H264 in TS detection
Baptiste Coudurier
baptiste.coudurier
Sun Jul 27 04:20:32 CEST 2008
Hi,
Michael Niedermayer wrote:
> Hi
>
> maybeH264_dumpstream
> (see ftp and [FFmpeg-devel] Unplayable "JVT NAL" sequence)
> Contains a H.264 stream that is missdetected as mpeg1video.
> Patch below fixes it, i intend to apply it in 24h if there are no objections
> from mans.
>
> Index: libavformat/mpegts.c
> ===================================================================
> --- libavformat/mpegts.c (revision 14235)
> +++ libavformat/mpegts.c (working copy)
> @@ -970,7 +970,7 @@
> codec_id = CODEC_ID_AC3;
> } else {
> codec_type = CODEC_TYPE_VIDEO;
> - codec_id = CODEC_ID_MPEG1VIDEO;
> + codec_id = CODEC_ID_PROBE;
> }
Btw, shouldn't the type also be probed when codec id is probed ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list