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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 12 01:45:52 CET 2013


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*.

Carl Eugen



More information about the ffmpeg-devel mailing list