[FFmpeg-devel] [PATCH v3 1/3] avcodec: add ambient viewing environment packet side data.
Cosmin Stejerean
cosmin at cosmin.at
Sun Feb 4 13:51:20 EET 2024
> On Feb 4, 2024, at 12:45, Anton Khirnov <anton at khirnov.net> wrote:
>
> Quoting Cosmin Stejerean via ffmpeg-devel (2024-02-04 12:16:53)
>> diff --git a/libavcodec/packet.h b/libavcodec/packet.h
>> index 2c57d262c6..215b1c9970 100644
>> --- a/libavcodec/packet.h
>> +++ b/libavcodec/packet.h
>> @@ -299,6 +299,13 @@ enum AVPacketSideDataType {
>> */
>> AV_PKT_DATA_DYNAMIC_HDR10_PLUS,
>>
>> + /**
>> + * Ambient viewing environment metadata, as defined by H.274.. This metadata
>> + * should be associated with a video stream and contains data in the form
>> + * of the AVAmbientViewingEnvironment struct.
>> + */
>> + AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT,
>
> New entries must be added at the end, otherwise this breaks ABI.
>
> It also needs a minor lavc bump and an APIchanges entry.
>
Will address in the next version.
More information about the ffmpeg-devel
mailing list