[FFmpeg-devel] [RFC][PATCH] return packets for known codecs earlier when codec probing is done
Baptiste Coudurier
baptiste.coudurier
Tue May 26 07:32:13 CEST 2009
On 5/25/2009 7:58 PM, Baptiste Coudurier wrote:
> [...]
>
> @@ -2343,6 +2356,9 @@ AVStream *av_new_stream(AVFormatContext *s, int id
> st->cur_dts = 0;
> st->first_dts = AV_NOPTS_VALUE;
>
> + if (st->codec->codec_id == CODEC_ID_PROBE)
> + st->probe_packets = MAX_PROBE_PACKETS;
> +
This should be set unconditionally, codec_id is not set yet.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list