Re: [FFmpeg-devel] [PATCH 6/9] lavc/mpeg4videodec: do not invent a framerate from guessed numbers

2023-10-02 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2023-10-01 15:14:49) > Anton Khirnov: > > Improves timestamps for fate-m4v* > > What makes the new cfr timestamps better? The framerate, and frame durations derived from it, are no longer garbage, so the last frame has a larger timestamps and does not get dropped. --

Re: [FFmpeg-devel] [PATCH 6/9] lavc/mpeg4videodec: do not invent a framerate from guessed numbers

2023-10-01 Thread Andreas Rheinhardt
Anton Khirnov: > Improves timestamps for fate-m4v* What makes the new cfr timestamps better? > --- > libavcodec/mpeg4videodec.c | 3 -- > tests/ref/fate/m4v | 84 +++--- > tests/ref/fate/m4v-cfr | 1 + > 3 files changed, 43 insertions(+), 45

[FFmpeg-devel] [PATCH 6/9] lavc/mpeg4videodec: do not invent a framerate from guessed numbers

2023-10-01 Thread Anton Khirnov
Improves timestamps for fate-m4v* --- libavcodec/mpeg4videodec.c | 3 -- tests/ref/fate/m4v | 84 +++--- tests/ref/fate/m4v-cfr | 1 + 3 files changed, 43 insertions(+), 45 deletions(-) diff --git a/libavcodec/mpeg4videodec.c