This functionally already exists, but as pointed out in #9672 and #9673, requiring users to manually include filters is clumsy, error-prone and hard to use together with tools like ffplay. To streamline ICC profile support, add a new AVCodecContext flag to globally enable reading and writing ICC profiles, automatically, for all appropriate media types. Note that this commit only includes the new API. The implementation is split off to separate commits for readability.
Showing the changes to doc/APIchanges (1 of 5 files). Show all
Unified · Split
| @@ -14,6 +14,11 @@ libavutil: 2021-04-27 · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2022-07-xx - xxxxxxxxx - lavc 59.40.100 - avcodec.h | |
| 18 | + Add the AV_CODEC_FLAG2_ICC_PROFILES flag to AVCodecContext, to enable | |
| 19 | + automatic reading and writing of embedded ICC profiles in image files. | |
| 20 | + The "flags2" option now supports the corresponding flag "icc_profiles". | |
| 21 | + | |
| 17 | 22 | 2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h |
| 18 | 23 | Add AVFrame.duration, deprecate AVFrame.pkt_duration. |
| 19 | 24 | |