summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-04 11:50:48 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-15 10:56:18 +0200
commit7d1d61cc5f57708434ba720b03234b3dd93a4d1e (patch)
tree06bb3e329dcb5d9e1ce9083e6e82ed48f70d1135 /doc
parent2953ebe7b6925b045e5652420cf07146fbbb17ab (diff)
downloadffmpeg-7d1d61cc5f57708434ba720b03234b3dd93a4d1e.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges5
-rw-r--r--doc/codecs.texi1
2 files changed, 5 insertions, 1 deletions
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: