[Mplayer-cvslog] CVS: main mplayer.c,1.389,1.390

Nick Kurshev nick at mplayer.dev.hu
Sat Feb 9 15:53:52 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv13244/main

Modified Files:
	mplayer.c 
Log Message:
temporary solution to disable adaptive deinterlacing engine

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.389
retrieving revision 1.390
diff -u -r1.389 -r1.390
--- mplayer.c	9 Feb 2002 01:29:11 -0000	1.389
+++ mplayer.c	9 Feb 2002 14:53:49 -0000	1.390
@@ -118,6 +118,7 @@
              Video accelerated architecture
 **************************************************************************/
 vo_vaa_t vo_vaa;
+extern int force_ni;
 
 //**************************************************************************//
 //             Config file
@@ -1399,7 +1400,13 @@
    }
    init_video_vaa();
    fflush(stdout);
-   
+   /* Temporary solution for disabling deinterlacing */
+   if(vo_vaa.set_deint && force_ni)
+   {
+	vidix_deinterlace_t deint;
+	deint.flags = CFG_NON_INTERLACED;
+	vo_vaa.set_deint(&deint);
+   }
 //================== MAIN: ==========================
    main:
 if(!sh_video) osd_level = 0;




More information about the MPlayer-cvslog mailing list