summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-02-29 20:33:07 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-02-29 20:33:07 +0000
commit70e246cc7fc7d29a20edc4e9cce9efbe795cd153 (patch)
treeac91fb6ddc64e6a22bc7b4d2dbfd8866e80e7cea /cfg-mplayer.h
parente65a6fc09c48b91cba478ffeb58196adb947b47c (diff)
downloadmpv-70e246cc7fc7d29a20edc4e9cce9efbe795cd153.tar.bz2
mpv-70e246cc7fc7d29a20edc4e9cce9efbe795cd153.tar.xz
adapter selection patch by Rune <runner at mail.tele.dk> +first attempt to implement 2 window fullscreenswitching by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12006 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index c25bbeef17..11844abfdd 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -77,6 +77,11 @@ extern int osd_level;
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 @@ m_option_t mplayer_opts[]={
{"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},