On Mon, Jan 27, 2014 at 04:20:19PM +0100, Vittorio Giovara wrote: > --- a/libavfilter/vf_interlace.c > +++ b/libavfilter/vf_interlace.c > @@ -199,9 +199,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame > *buf) > > av_frame_copy_props(out, s->cur); > - out->interlaced_frame = 1; > - out->top_field_first = tff; > - out->pts /= 2; // adjust pts to new framerate > + > + out->field_state = tff ? AV_FRAME_INTERLACED_TFF : > AV_FRAME_INTERLACED_BFF; > + out->pts /= 2; // adjust pts to new framerate
Odd non-alignment. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
