[Mplayer-cvslog] CVS: main mplayer.c,1.780,1.781

Sascha Sommer CVS syncmail at mplayerhq.hu
Thu Sep 2 14:02:08 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv6444

Modified Files:
	mplayer.c 
Log Message:
slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at gnuage.org>

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.780
retrieving revision 1.781
diff -u -r1.780 -r1.781
--- mplayer.c	28 Aug 2004 00:46:05 -0000	1.780
+++ mplayer.c	2 Sep 2004 12:02:05 -0000	1.781
@@ -2980,6 +2980,9 @@
 	tv_step_chanlist((tvi_handle_t*)(demuxer->priv));
     } break;
 #endif
+    case MP_CMD_SWITCH_VSYNC:  {
+      vo_vsync = ( cmd->nargs > 0 )? cmd->args[0].v.i : !vo_vsync;
+    } break;
     case MP_CMD_VO_FULLSCREEN:
     {
 #ifdef HAVE_NEW_GUI




More information about the MPlayer-cvslog mailing list