diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-03 20:57:13 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-03 20:57:13 +0000 |
commit | b6004b1b7c8710c477a62a06ec7c3535c5e5e2cd (patch) | |
tree | e5115e8ab0383b2a86c2d64af0c474174326f491 /libvo/vo_xv.c | |
parent | 4bf6dad4cfc5de14ea0993ff5c7c3c6df251f17f (diff) | |
download | mpv-b6004b1b7c8710c477a62a06ec7c3535c5e5e2cd.tar.bz2 mpv-b6004b1b7c8710c477a62a06ec7c3535c5e5e2cd.tar.xz |
fix xmga fs, resize to movie size and mouse auto hide + dga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index de15f6331c..a73ea940f3 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -41,6 +41,10 @@ LIBVO_EXTERN(xv) #include "../postproc/rgb2rgb.h" +#ifdef HAVE_NEW_GUI +#include "../Gui/interface.h" +#endif + static vo_info_t vo_info = { "X11/Xv", @@ -330,6 +334,8 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 image_height = height; image_width = width; image_format=format; + + vo_mouse_autohide=1; vo_dwidth=d_width; vo_dheight=d_height; vo_fs=flags&1; @@ -446,7 +452,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 } #endif #ifdef HAVE_NEW_GUI - } + } else guiGetEvent( guiSetShVideo,0 ); #endif mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw scaling\n",xv_port ); |