>>>Nicolas George <geo...@nsup.org> schrieb am So, 2.4.2017:
>>Le tridi 13 germinal, an CCXXV, Thomas Mundt a écrit :
>...
>> link->current_pts always returns the pts until the current (last) frame.
>> I can calculate its duration for cfr video, but not for vfr. I need the pts 
>> until the virtual next frame.
>> At which point in the code can I get it?
>
> link->current_pts is updated when request_frame() returns EOF. But to
> make it work, it would be necessary that the application injects the
> timestamp when marking EOF, which is not yet done, but hopefully I will
> have time to work on it in the next two weeks.
>
> But it is the correct way of doing things. Using the duration has too
> many drawbacks.

OK, I´ll wait and use my patch locally meanwhile.
Will you also fix the ticket or shall I make a new patch then?

Regards,
Thomas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to