[MPlayer-cvslog] r20655 - trunk/libmpcodecs/vd_libmpeg2.c

henry subversion at mplayerhq.hu
Sat Nov 4 08:08:54 CET 2006


Author: henry
Date: Sat Nov  4 08:08:54 2006
New Revision: 20655

Modified:
   trunk/libmpcodecs/vd_libmpeg2.c

Log:
pass the interlacing info to the filter chain

Modified: trunk/libmpcodecs/vd_libmpeg2.c
==============================================================================
--- trunk/libmpcodecs/vd_libmpeg2.c	(original)
+++ trunk/libmpcodecs/vd_libmpeg2.c	Sat Nov  4 08:08:54 2006
@@ -221,6 +221,8 @@
 		mpi_new->fields |= MP_IMGFIELD_REPEAT_FIRST;
 	    else mpi_new->fields &= ~MP_IMGFIELD_REPEAT_FIRST;
 	    mpi_new->fields |= MP_IMGFIELD_ORDERED;
+            if (!(info->current_picture->flags&PIC_FLAG_PROGRESSIVE_FRAME))
+                mpi_new->fields |= MP_IMGFIELD_INTERLACED;
 
 #ifdef MPEG12_POSTPROC
 	    mpi_new->qstride=info->sequence->width>>4;



More information about the MPlayer-cvslog mailing list