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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user