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

Nicolas George george at nsup.org
Sun Dec 30 17:26:59 EET 2018


Paul B Mahol (2018-12-30):
> On 12/26/18, Nicolas George <george at nsup.org> wrote:
> >> + * The input string can be represented by:
> >> + *  - the formal channel layout name (returned by
> >> av_channel_layout_describe())
> >> + *  - single or multiple channel names (returned by av_channel_name()
> >> + *    or concatenated with "|")
> >> + *  - a hexadecimal value of a channel layout (eg. "0x4")
> >> + *  - the number of channels with default layout (eg. "5")
> >> + *  - the number of unordered channels (eg. "4 channels")
> >
> > av_get_channel_layout() used to use '+' instead of '|', and I think it
> > is better. For once, '+' is not a special character for shells.
> 
> Can not work if user wants to define custom channel layout from
> already available channels.

Please explain why.

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: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181230/e7e8362d/attachment.sig>


More information about the ffmpeg-devel mailing list