Re: [FFmpeg-devel] [PATCH] fftools: allow decoders to set AVFrame time_base

2022-09-15 Thread Marton Balint
On Sat, 10 Sep 2022, Leo Izen wrote: This patch allows decoders to set AVFrame->time_base, which determines the units that AVFrame->pts will use. Currently no decoders do this, but it will allow it in the future. This is patch is wrong, because it implies that decoders can output frames in

[FFmpeg-devel] [PATCH] fftools: allow decoders to set AVFrame time_base

2022-09-10 Thread Leo Izen
This patch allows decoders to set AVFrame->time_base, which determines the units that AVFrame->pts will use. Currently no decoders do this, but it will allow it in the future. --- fftools/ffmpeg.c | 3 ++- fftools/ffplay.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ffto