summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 23:02:45 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-14 23:02:45 +0000
commit2518620787eaad6b84c0edbdea683a9338d56199 (patch)
tree7d0bed4c447620580fe7233c474ddfbaaff3dda3 /libvo
parentd2673b6e3b98e23947c7e87656f48a1679c6be41 (diff)
downloadmpv-2518620787eaad6b84c0edbdea683a9338d56199.tar.bz2
mpv-2518620787eaad6b84c0edbdea683a9338d56199.tar.xz
- add dxr3 gui support (dialogbox, etc.)
- fix one small dvd playing bug ( dvd playing don't del the playlist) - add some ifdef() check git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7010 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.h3
-rw-r--r--libvo/vo_dxr3.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 5be811beea..aa60f7549e 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -29,6 +29,7 @@
#define VOCTRL_RESET 3
/* true if vo driver can use GUI created windows */
#define VOCTRL_GUISUPPORT 4
+#define VOCTRL_GUI_NOWINDOW 19
/* used to switch to fullscreen */
#define VOCTRL_FULLSCREEN 5
#define VOCTRL_SCREENSHOT 6
@@ -49,6 +50,8 @@
/* equalizer controls */
#define VOCTRL_SET_EQUALIZER 17
#define VOCTRL_GET_EQUALIZER 18
+// ... 20
+
#define VO_TRUE 1
#define VO_FALSE 0
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index 0cf7c1c745..b778df81d4 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -143,6 +143,9 @@ static int set_video_eq(vidix_video_eq_t *info);
uint32_t control(uint32_t request, void *data, ...)
{
switch (request) {
+ case VOCTRL_GUISUPPORT:
+ case VOCTRL_GUI_NOWINDOW:
+ return VO_TRUE;
case VOCTRL_RESUME:
if (!noprebuf) {
ioval = EM8300_PLAYMODE_PLAY;