Re: [FFmpeg-devel] [PATCH 2/4 v2] ffmpeg: move AVFrame time base adjustment into a function

2020-09-14 Thread Jan Ekström
On Mon, Sep 14, 2020 at 12:31 AM Jan Ekström wrote: > Diff between v1 and v2 follows: - Forgotten to be removed debug logs removed. - Still log debug_ts even in case of nullptr AVFrame or AV_NOPTS_VALUE. Decided against separating the logging because this way it's a self-contained package and

[FFmpeg-devel] [PATCH 2/4 v2] ffmpeg: move AVFrame time base adjustment into a function

2020-09-13 Thread Jan Ekström
This will have to be called later for video down the line. --- fftools/ffmpeg.c | 69 ++-- 1 file changed, 44 insertions(+), 25 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index cb7644de6a..54802a8ec3 100644 --- a/fftools/ffmpeg.c +++