Re: [FFmpeg-devel] [PATCH v2 11/13] lavc/libvpxenc: send frame durations to the encoder

2023-05-10 Thread Anton Khirnov
Quoting James Zern (2023-05-09 20:17:37) > This could fall back to frame rate or ticks, but I imagine this case > would be unlikely in practice unless the timebase was quite large. Yeah, I think it's better not to get fancy unless we know it's needed. Thanks, -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH v2 11/13] lavc/libvpxenc: send frame durations to the encoder

2023-05-09 Thread James Zern
On Tue, May 9, 2023 at 2:10 AM Anton Khirnov wrote: > > Adapt similar code from libaomenc - stop using ticks_per_frame except as > a last resort. > --- > libavcodec/libvpxenc.c | 15 +-- > 1 file changed, 13 insertions(+), 2 deletions(-) > lgtm. > diff --git

[FFmpeg-devel] [PATCH v2 11/13] lavc/libvpxenc: send frame durations to the encoder

2023-05-09 Thread Anton Khirnov
Adapt similar code from libaomenc - stop using ticks_per_frame except as a last resort. --- libavcodec/libvpxenc.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index a20e949842..f70cc87c41 100644 ---