[FFmpeg-devel] [PATCH 3/7] lavf/mxfdec: support j2k codec with interlaced layout

Matthieu Bouron matthieu.bouron at gmail.com
Thu Mar 28 16:27:45 CET 2013


On Thu, Mar 28, 2013 at 03:00:53PM +0000, Carl Eugen Hoyos wrote:
> Matthieu Bouron <matthieu.bouron <at> gmail.com> writes:
> 
> > +                if (descriptor->frame_layout == SegmentedFrame ||
> > +                    descriptor->frame_layout == SeparateFields) {
> > +                    st->codec->extradata_size = 2;
> 
> Shouldn't this be stream metadata?

Since this information is directly used by the decoder, i thought it was a
good option to use avctx->extradata.
Is stream metadata accessible from the decoder ?

Matthieu


More information about the ffmpeg-devel mailing list