[FFmpeg-devel] [PATCH 001/279] Add a new channel layout API

Nicolas George george at nsup.org
Wed Dec 8 12:58:57 EET 2021


Lynne (12021-12-08):
> Consider adding a 25-byte or so of a description field string here that
> would also be copied if the frame/layout is copied?
> That way, users can assign a description label to each channel,
> for example labeling each channel in a 255 channel custom layout
> Opus stream used in production at a venue somewhere.

I posted a remark with the same concern.

But if we add it, or if we make the labels dynamically allocated, the
structure will become large and/or slow: I suspect we will need to make
it refcounted. Long ago, I posted a template to implement refcounting in
structure without the syntactic and memory overhead that buffers
require, it was in part meant for this.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list