From 7d1d61cc5f57708434ba720b03234b3dd93a4d1e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 4 May 2023 11:50:48 +0200 Subject: lavc: deprecate AVCodecContext.ticks_per_frame For encoding, this field is entirely redundant with AVCodecContext.framerate. For decoding, this field is entirely redundant with AV_CODEC_PROP_FIELDS. --- doc/APIchanges | 5 +++++ doc/codecs.texi | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index b048646283..d2255867a8 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09 API changes, most recent first: +2023-05-xx - xxxxxxxxxx - lavc 60 - avcodec.h + Depreate AVCodecContext.ticks_per_frame in favor of + AVCodecContext.framerate (encoding) and + AV_CODEC_PROP_FIELDS (decoding). + 2023-05-xx - xxxxxxxxxx - lavc 60.12.100 - codec_desc.h Add AV_CODEC_PROP_FIELDS. diff --git a/doc/codecs.texi b/doc/codecs.texi index 1adacd2b59..f903dad754 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -775,7 +775,6 @@ Possible values: @end table @item rc_max_vbv_use @var{float} (@emph{encoding,video}) @item rc_min_vbv_use @var{float} (@emph{encoding,video}) -@item ticks_per_frame @var{integer} (@emph{decoding/encoding,audio,video}) @item color_primaries @var{integer} (@emph{decoding/encoding,video}) Possible values: -- cgit v1.2.1