<div dir="ltr">Hi <div><br></div><div>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.<br>
</div><div><br></div><div>In fact I'm considering this case:</div><div><br></div><div> |.............................................................................. |</div><div> last frame pts avstream.duration</div>
<div><br></div><div>as I said, my player's timeline is initialized with avstream.duration as max pos, if I </div><div>call av_seek_frame( lastframe <pos < end, flag_back), where will the read position</div><div>
be set to? is it guaranteed to be before last frame so that I can read at least frame?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div><div> </div></div>