[FFmpeg-devel] [PATCH]Add two v4l2 pix_fmts

Stefano Sabatini stefasab at gmail.com
Sat Feb 16 16:11:22 CET 2013


On date Saturday 2013-02-16 01:02:20 +0100, Stefano Sabatini encoded:
> On date Tuesday 2013-02-12 00:45:52 +0000, Carl Eugen Hoyos encoded:
> > Stefano Sabatini <stefasab <at> gmail.com> writes:
> > 
> > > >      if (desired_format == V4L2_PIX_FMT_YVU420)
> > > >          st->codec->codec_tag = MKTAG('Y', 'V', '1', '2');
> > > > +    else if (desired_format == V4L2_PIX_FMT_YVU410)
> > > > +        st->codec->codec_tag = MKTAG('Y', 'V', 'U', '9');
> > > 
> > > why these exceptions?
> > 
> > They are needed both for decoding and remuxing YVU*.
> 
> Yes but why do they need to set a specific tag (as opposed to the
> other formats), or in other works why are they special?

Also note that this is not meant to block the patch, but an
explanation would be welcome.
-- 
FFmpeg = Friendly and Foolish Meaningful Peaceful Epic Gorilla


More information about the ffmpeg-devel mailing list