[FFmpeg-devel] [PATCH 1/3] lavf: call the new seek API from the old.

Michael Niedermayer michaelni at gmx.at
Sat May 4 13:49:15 CEST 2013


On Fri, May 03, 2013 at 10:53:54AM +0200, Nicolas George wrote:
> If the demuxer implements read_seek2() and not read_seek(),
> call avformat_seek_file() from av_seek_frame().
> Allow to properly seek in formats that only implement the
> new API from applications that use the old one.
> Tested with mplayer and a concat script.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavformat/utils.c |   14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> 
> Updated to filter out AVSEEK_FLAG_BACKWARD. This is somewhat redundant with
> the next patch, but better safe than sorry.

LGTM

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- 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/20130504/9dcdf512/attachment.asc>


More information about the ffmpeg-devel mailing list