[FFmpeg-devel] [PATCH] lavc/av1*: fix exporting framerate
James Almer
jamrial at gmail.com
Mon May 15 14:41:08 EEST 2023
On 5/15/2023 5:22 AM, Anton Khirnov wrote:
> * take num_ticks_per_picture_minus_1 into account, since that is a part
> of the framerate computation
> * stop exporting num_ticks_per_picture_minus_1 into
> AVCodecContext.ticks_per_frame, as that field is used for other
> purposes (in conjunction with repeat_pict, which is not used at all by
> av1)
> ---
> libavcodec/Makefile | 2 +-
> libavcodec/av1_parse.c | 14 ++++++++++++++
> libavcodec/av1_parse.h | 3 +++
> libavcodec/av1_parser.c | 11 ++++++-----
> libavcodec/av1dec.c | 14 +++++---------
> 5 files changed, 29 insertions(+), 15 deletions(-)
LGTM
More information about the ffmpeg-devel
mailing list