[FFmpeg-devel] [PATCH] avformat/mov.c: mov_read_seek update cur_dts

Yvan LABADIE ylabadie
Fri Jul 2 11:00:22 CEST 2010


Baptiste Coudurier wrote, On 02/07/2010 09:55:
> On 7/1/10 11:57 PM, Yvan LABADIE wrote:
>> Like I said, it fix the cur_dts value when using av_seek_frame()
>>
>> why is it needed?
>> I request a seek using "av_seek_frame", then I want to know exactly
>> where the stream really went.
>>
>
> cur_dts is not meant to be used outside libavformat.

ok, then how do we get the current timestamp? I couldn't find anything 
else in avformat.h

>
> Also in the second case seek_timestamp is not in the right timebase.
>
I'll correct it if we agree on updating cur_dts



More information about the ffmpeg-devel mailing list