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

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Jul 14 15:48:23 CEST 2011


On date Wednesday 2011-06-22 19:21:03 +0200, Carl Eugen Hoyos encoded:
> On Friday 17 June 2011 06:46:41 pm Michael Niedermayer wrote:
> > On Mon, Jun 13, 2011 at 10:01:51PM +0200, Carl Eugen Hoyos wrote:
> 
> > > Attached patch fixes ticket 98.
> > >
> > > Please comment, Carl Eugen
> > >
> > >  libavcodec/avcodec.h |    7 +++
> > >  libavcodec/pcm.c     |   99
> > > +++++++++++++++++++++++++++++++++++++++++++++++++++ libavformat/isom.c  
> > > |    3 -
> > 
> > missing entry in the AVOption array
> 
> Updated patch attached.
> 
> Please comment, Carl Eugen

> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 90c389b..dd7e249 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -2903,6 +2903,13 @@ typedef struct AVCodecContext {
>      int64_t pts_correction_last_dts;       /// DTS of the last frame
>  
>  

> +    /**
> +     * mov channel layout tag as described in the CAF specification.
> +     * - decoding: Set by user.
> +     * - encoding: unused
> +     */
> +    uint32_t mov_channel_layout;
> +
>  } AVCodecContext;

Since this is CAF related, did you consider to use private options
instead?
-- 
FFmpeg = Freak and Fundamental Merciless Peaceful Entertaining Glue


More information about the ffmpeg-devel mailing list