[Libav-user] About av_seek_frame flag
YIRAN LI
mrfun.china at gmail.com
Fri Feb 28 07:19:22 CET 2014
Hi
I'm using av_seek_frame with AVSEEK_FLAG_BACKWARD flag and I'd like to
know, if I specified a position beyond the duration (I use
avstream.duration to init the time line), will av_seek_frame with
AVSEEK_FLAG_BACKWARD guarantee to seek to a position from where I can read
at least one frame.
In fact I'm considering this case:
|..............................................................................
|
last frame pts
avstream.duration
as I said, my player's timeline is initialized with avstream.duration as
max pos, if I
call av_seek_frame( lastframe <pos < end, flag_back), where will the read
position
be set to? is it guaranteed to be before last frame so that I can read at
least frame?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140228/9f772067/attachment.html>
More information about the Libav-user
mailing list