changeset 4610:eb8ffbcd0b73

temporary solution to disable adaptive deinterlacing engine
author nick
date Sat, 09 Feb 2002 14:53:49 +0000
parents 272b0a173417
children 7b793875a640
files mplayer.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Feb 09 14:44:09 2002 +0000
+++ b/mplayer.c	Sat Feb 09 14:53:49 2002 +0000
@@ -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;