[FFmpeg-devel] [PATCH] lavfi: add ff_all_channel_layouts internal symbol

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Aug 25 01:38:52 CEST 2011


On date Wednesday 2011-08-24 05:48:55 +0200, Michael Niedermayer encoded:
> On Tue, Aug 23, 2011 at 03:31:35PM +0200, Stefano Sabatini wrote:
[...]
> > +const int64_t avfilter_all_channel_layouts_list[] = {
> > +    AV_CH_LAYOUT_MONO,
> > +    AV_CH_LAYOUT_STEREO,
> > +    AV_CH_LAYOUT_4POINT0,
> > +    AV_CH_LAYOUT_QUAD,
> > +    AV_CH_LAYOUT_5POINT0,
> > +    AV_CH_LAYOUT_5POINT0_BACK,
> > +    AV_CH_LAYOUT_5POINT1,
> > +    AV_CH_LAYOUT_5POINT1_BACK,
> > +    AV_CH_LAYOUT_5POINT1|AV_CH_LAYOUT_STEREO_DOWNMIX,
> > +    AV_CH_LAYOUT_7POINT1,
> > +    AV_CH_LAYOUT_7POINT1_WIDE,
> > +    AV_CH_LAYOUT_7POINT1|AV_CH_LAYOUT_STEREO_DOWNMIX,
> > +    -1
> > +};
> 
> There are more possible layouts than can easily be listed i think

Yes, this should be meant as the "default channel layouts which are
automatically selected when choosing 'all channels' in audio filters".

So maybe it should be better named
avfilter_default_all_channel_layouts_list.

If you don't like it please suggest alternatives.
-- 
FFmpeg = Fantastic and Fast Monstrous Pitiful Explosive Game


More information about the ffmpeg-devel mailing list