[FFmpeg-devel] [PATCH]Reorder channels for some mov channel layouts

Stefano Sabatini stefano.sabatini-lala at poste.it
Fri Jul 15 15:12:53 CEST 2011


On date Friday 2011-07-15 07:48:31 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:
> 
> > > > > +     * mov channel layout tag as described in the CAF specification.
> > > > > +     * - decoding: Set by user.
> > > > > +     * - encoding: unused
> > > > > +     */
> > > > > +    uint32_t mov_channel_layout;
> 
> > I'd avoid polluting AVCodecContext with codec-specific options, you
> > can replicate the option entries in all the affected codecs.
> 
> There is nothing codec-specific about this option, it is used in multiple muxers
> for multiple codecs.

But, it is used only in pcm, right? So why not adding it in the
private codec context of the PCM decoder?
-- 
FFmpeg = Friendly and Formidable MultiPurpose Erroneous Guide


More information about the ffmpeg-devel mailing list