[FFmpeg-devel] [PATCH 4/9] Don't assume reading more frames in av_find_stream_info will change a CODEC_ID_NONEinto something better

Joakim Plate elupus at ecce.se
Sun Sep 11 15:55:26 CEST 2011

On Sat, 10 Sep 2011 21:35:27 +0000 (UTC), Joakim Plate wrote:

> Ah okey, then that aught to be checked instead. Will update patch.
> The reason was it made av_find_stream_info read a pointless amount
> of the stream.

Okey, this is more of an RFC. It's not tested against the situation that
was the reason for the first patch. (I can't seem to remember what sample
file i used to track it down).

The issue was nothing major, it was just wasting time in
av_find_stream_info which was explicitly noticable if you played a live
stream wich has limited throughput. 

The thought here is that, if we are not probing and have CODEC_ID_NONE. We
won't get any more codec information than we already have.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Don-t-assume-reading-more-frames-in-av_find_stream_i.patch
Type: text/x-patch
Size: 3655 bytes
Desc: Attached file: 0002-Don-t-assume-reading-more-frames-in-av_find_stream_i.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110911/57b4d559/attachment.bin>

More information about the ffmpeg-devel mailing list