Op 1 dec 2008, om 18:34 heeft Chris Stones het volgende geschreven:

>>
>>
>> av_seek_frame( is->ic, -1, AV_TIME_BASE, AVSEEK_FLAG_BACKWARD);
>>
>> It seems to come down to the fact that a seek is performed before the
>> first packet in this file is decoded.
>>
> So you are seeking from  timestamp 0 seconds to timestamp 1 second,  
> and you
> are passing the AVSEEK_FLAG_BACKWARD flag ???

If I remember the docs correctly this flag means that the seek will go  
to the first available keyframe before the timestamp requested.
This is also how it works in practice, and the seek returns 0.
That leads me to believe that the actual seek is performed.

Even if the seek would fail, I would expect the stream to start as if  
seek was never called, which it doesn't..
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to