[Mplayer-cvslog] CVS: main cfg-mplayer.h,1.214,1.215
Sascha Sommer CVS
syncmail at mplayerhq.hu
Sun Feb 29 21:33:09 CET 2004
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv14960
Modified Files:
cfg-mplayer.h
Log Message:
adapter selection patch by Rune <runner at mail.tele.dk> +first attempt to implement 2 window fullscreenswitching by me
Index: cfg-mplayer.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer.h,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- cfg-mplayer.h 5 Feb 2004 17:08:55 -0000 1.214
+++ cfg-mplayer.h 29 Feb 2004 20:33:07 -0000 1.215
@@ -77,6 +77,11 @@
extern char *ao_outputfilename;
extern int ao_pcm_waveheader;
+#ifdef HAVE_DIRECTX
+extern int adapter_num;
+extern int refresh_rate;
+#endif
+
#ifdef HAVE_X11
extern char *mDisplayName;
extern int WinID;
@@ -286,7 +291,11 @@
{"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
-
+
+#ifdef HAVE_DIRECTX
+ {"adapter", &adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
+ {"refreshrate",&refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
+#endif
#ifdef HAVE_X11
// x11,xv,xmga,xvidix
{"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
More information about the MPlayer-cvslog
mailing list