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

Joakim Plate elupus at ecce.se
Tue Sep 13 09:35:09 CEST 2011


Michael Niedermayer <michaelni <at> gmx.at> writes:

> 
> please explain why
>  AVFMT_NOBINSEARCH and AVFMT_NOGENSEARCH
> are not sufficient or why they are not ideal
> 
> [...]
> 


It just feels like those are more for demuxer that don't implement
read_seek at all. Also it looks like a majority of demuxer are
really done after they fail inside their own read_seek
function, no good will come out of trying the generic versions.

Also if another seek function is eventually added you have to
add another flag and go through all demuxer again to update
them to not use that.

/Joakim



More information about the ffmpeg-devel mailing list