[MPlayer-dev-eng] [PATCH] vo_svga parameters

Mikulas Patocka mikulas at artax.karlin.mff.cuni.cz
Mon Aug 2 16:59:58 CEST 2004


Hi

This patch allows the user to specify parameters for vo_svga in any order,
not just in order mentioned in source, as it used to be before.

Mikulas
-------------- next part --------------
--- x/mplayer-1.0pre4/libvo/vo_svga.c	2003-12-07 16:08:20.000000000 +0100
+++ libvo/vo_svga.c	2004-07-25 16:51:09.000000000 +0100
@@ -140,30 +140,35 @@
       if(arg[i]==':')i++;

       arg+=i;

       vidix_preinit(vidix_name, &video_out_svga);

+      continue;
     }

 #endif

     if(!strncmp(arg,"sq",2)) {

       squarepix=1;

       arg+=2;

       if( *arg == ':' ) arg++;

+      continue;
     }

     
     if(!strncmp(arg,"native",6)) {
       force_native=1;
       arg+=6;
       if( *arg == ':' ) arg++;
+      continue;
     }
 
     if(!strncmp(arg,"bbosd",5)) {
       blackbar_osd=1;
       arg+=5;
       if( *arg == ':' ) arg++;
+      continue;
     }
 
     if(!strncmp(arg,"retrace",7)) {
       sync_flip=1;
       arg+=7;
       if( *arg == ':' ) arg++;
+      continue;
     }
     
     if(*arg) {

@@ -182,6 +187,7 @@
       }
       arg+=i;
       if(*arg==':')arg++;
+      continue;
     }

   }

   


More information about the MPlayer-dev-eng mailing list