aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-04-03 22:19:28 +0200
committerNiklas Haas <git@haasn.dev>2024-09-08 13:59:25 +0200
commit3305767560a6303f474fffa3afb10c500059b455 (patch)
treec94bba9e72eebcbf78288a7e1c02f2797dd58854 /doc/APIchanges
parent703288cec6522655e8533c89efa3cd6df9613b99 (diff)
downloadffmpeg-3305767560a6303f474fffa3afb10c500059b455.tar.gz
avcodec: add avcodec_get_supported_config()
This replaces the myriad of existing lists in AVCodec by a unified API call, allowing us to (ultimately) trim down the sizeof(AVCodec) quite substantially, while also making this more trivially extensible. In addition to the already covered lists, add two new entries for color space and color range, mirroring the newly added negotiable fields in libavfilter. Once the deprecation period passes for the existing public fields, the rough plan is to move the commonly used fields (such as pix_fmt/sample_fmt) into FFCodec, possibly as a union of audio and video configuration types, and then implement the rarely used fields with custom callbacks.
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 06cad83d64..67b50c025f 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,11 @@ The last version increases of all libraries were on 2024-03-07
API changes, most recent first:
+2024-08-xx - xxxxxxxxxx - lavc 61.12.100 - avcodec.h
+ Add avcodec_get_supported_config() and enum AVCodecConfig; deprecate
+ AVCodec.pix_fmts, AVCodec.sample_fmts, AVCodec.supported_framerates,
+ AVCodec.supported_samplerates and AVCodec.ch_layouts.
+
2024-xx-xx - xxxxxxx - lavc 61.12.100 - defs.h
Add AV_PROFILE_HEVC_MULTIVIEW_MAIN