lavc: add a codec flag for propagating opaque from frames to packets

This is intended to be a more convenient replacement for
reordered_opaque.

Add support for it in the two encoders that offer
AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE: libx264 and libx265. Other
encoders will be supported in future commits.
This commit is contained in:
Anton Khirnov
2022-07-12 11:25:09 +02:00
parent d0c8ca961d
commit 5c0348f3d6
7 changed files with 101 additions and 15 deletions

View File

@@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2023-01-xx - xxxxxxxxxx - lavc 59.59.100 - avcodec.h
Add AV_CODEC_FLAG_COPY_OPAQUE.
2023-01-13 - xxxxxxxxxx - lavu 57.44.100 - ambient_viewing_environment.h frame.h
Adds a new structure for holding H.274 Ambient Viewing Environment metadata,
AVAmbientViewingEnvironment.