[FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

Nicolas George george at nsup.org
Sun Apr 2 00:10:14 EEST 2017


Le quartidi 4 germinal, an CCXXV, Thomas Mundt a écrit :
> v2: Use av_frame_get_pkt_duration to calculate count of duplication of last frame.
> Use average of the earlier pts steps when av_frame_get_pkt_duration is not set.

Sorry for missing it earlier.

pkt_duration is not used by lavfi. The duration of the last frame is
carried by link->current_pts after the status has been received.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170401/987e6157/attachment.sig>


More information about the ffmpeg-devel mailing list