[FFmpeg-devel] [PATCH 8/8] lavc/libvpxenc: drop FrameListData.duration
Anton Khirnov
anton at khirnov.net
Wed Mar 1 14:07:00 EET 2023
Quoting James Zern (2023-02-28 22:16:39)
> On Tue, Feb 28, 2023 at 4:02 AM Anton Khirnov <anton at khirnov.net> wrote:
> >
> > It is write-only.
> > ---
> > libavcodec/libvpxenc.c | 3 ---
> > 1 file changed, 3 deletions(-)
> >
>
> libaomenc.c transfers this to AVPacket. You added this in:
> 7cf161abe5 lavc/libaomenc: pass through frame durations to encoded packets
> Should the same be done here?
We could do that, but the duration types do not match (we use int64_t,
libvpx has unsigned long), which adds corner cases that need to be
handled. Since I need the machinery for opaque[_ref] anyway, might as
well use it for duration.
I'll do the same for aomenc when I get to implementing opaque
passthrough for it.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list