[FFmpeg-devel] [PATCH] libavutil: additional side_data accessor

Nicolas George george at nsup.org
Tue Apr 20 16:17:36 EEST 2021


James Almer (12021-04-20):
> I recall long ago i tried to make av_frame_new_side_data() replace the
> existing element if it found one, effectively limiting side data to one per
> type and copying the behavior of packet side data, but it was rejected as it
> was argued more than one per type had some use. And seeing that now decoders
> like h264 may attach more than one element of AV_FRAME_DATA_SEI_UNREGISTERED
> type as contained inside the bitstream AUs, it may be a good idea for it to
> be supported officially with our accessors (Right now you need to manually
> traverse the side data array to find all instances of a given type).

Thanks for the clarification, I remembered it backwards.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210420/0e0f73d4/attachment.sig>


More information about the ffmpeg-devel mailing list