diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 02:33:28 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 02:33:28 +0000 |
commit | d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb (patch) | |
tree | 8f1d76f283da6022022a35e300c30faf93e71e83 /libvo/vo_xv.c | |
parent | 61c5a99851ea41449a513619dd68791c93e30ef3 (diff) | |
download | mpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.bz2 mpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.xz |
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 221a70345d..f9c2939b5f 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -65,14 +65,6 @@ static vo_info_t vo_info = "" }; -/* local data */ -static unsigned char *ImageData; - -/* X11 related variables */ -static XImage *myximage; -static int depth, bpp, mode; -static XWindowAttributes attribs; - #include <X11/extensions/Xv.h> #include <X11/extensions/Xvlib.h> // FIXME: dynamically allocate this stuff @@ -99,8 +91,6 @@ static XShmSegmentInfo Shminfo[NUM_BUFFERS]; static int Shmem_Flag; #endif -static int gXErrorFlag; - static uint32_t image_width; static uint32_t image_height; static uint32_t image_format; @@ -219,7 +209,7 @@ static int xv_get_eq(char *name, int *value) then trigger it if it's ok so that the other values are at default upon query */ if (xv_atom != None) { - int val, port_value=0, port_min, port_max, port_mid; + int val, port_value=0, port_min, port_max; XvGetPortAttribute(mDisplay, xv_port, xv_atom, &port_value); @@ -279,11 +269,11 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 // char *name = ":0.0"; XSizeHints hint; XVisualInfo vinfo; - XEvent xev; - XGCValues xgcv; XSetWindowAttributes xswa; + XWindowAttributes attribs; unsigned long xswamask; + int depth; #ifdef HAVE_XF86VM int vm=0; unsigned int modeline_width, modeline_height; |