[FFmpeg-devel] [PATCH 3/9] lavfi: use AVFrame.duration instead of AVFrame.pkt_duration

Nicolas George george at nsup.org
Wed Jul 13 18:02:04 EEST 2022


Anton Khirnov (12022-07-13):
> ---
>  doc/filters.texi                |  2 +-
>  libavfilter/buffersrc.c         |  7 +++++++
>  libavfilter/f_loop.c            | 14 ++++++++++++++
>  libavfilter/vf_deshake_opencl.c |  7 +++++++
>  libavfilter/vf_drawtext.c       | 16 ++++++++++++++++
>  5 files changed, 45 insertions(+), 1 deletion(-)

No objection from me.

But pkt_duration is mostly unused in libavfilter: the authoritative
information about a packet duration is given by the timestamp of the
next packet. What f_loop and vf_deshake_opencl currently do is slightly
bogus.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220713/fadf2641/attachment.sig>


More information about the ffmpeg-devel mailing list