[FFmpeg-devel] [PATCH 03/23] lavu/frame: add side data storing view ID for multi-view video

Anton Khirnov anton at khirnov.net
Sun Sep 15 23:47:45 EEST 2024


Quoting James Almer (2024-09-15 22:35:09)
> What is the use case for AVFrame->metadata?

As far as I'm concerned, it's a mistake that should never have existed.

> What gets written there and what is expected by library users? Is it
> documented at all? Because a single int like this feels like would fit
> better there rather than as side data.

Storing native data types in strings, thus forcing all users to convert
back and forth, is a horrible user-hostile approach.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list