[FFmpeg-devel] [PATCH]Fix interlaced flag when remuxing yuv4mpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Feb 2 12:34:03 CET 2013


Hi!

Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +    if (st->codec->field_order > AV_FIELD_UNKNOWN)
> > +        if (st->codec->field_order > AV_FIELD_PROGRESSIVE) {
> > +            inter = st->codec->field_order == AV_FIELD_TT 
> > || st->codec->field_order == AV_FIELD_TB ? 't' : 'b';
> > +        } else {
> > +             inter = 'p';
> > +        }
> 
> iam not sure > with these constants is a good idea
> except that patch ok

I replaced the ">" with a couple of "==" and applied the patch.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list