[FFmpeg-devel] [RFC] Change fallthrough logic for read_seek to be based on return value

Michael Niedermayer michaelni at gmx.at
Tue Sep 13 02:40:13 CEST 2011


On Mon, Sep 12, 2011 at 10:11:09PM +0200, Joakim Plate wrote:
> This changes the logic for read_seek to only use generic seek
> rutines if the return value is AVERROR(ENOSYS) to avoid retrying
> seeks if the demuxer already realized it wasn't possible.
> 
> Before this goes in, all read_seek demuxer functions need to be
> checked to see if they really want a retry with generic functions
> on a failed seek in the demuxer read_seek.
> 
> The gxf change was really the only change needed to make fate pass. However
> that change actually look wrong. So maybe fate should be updated there
> instead.

please explain why
 AVFMT_NOBINSEARCH and AVFMT_NOGENSEARCH
are not sufficient or why they are not ideal

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110913/efd250ee/attachment.asc>


More information about the ffmpeg-devel mailing list