1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00

warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-05-30 18:05:49 +00:00
parent eb4bffb0b6
commit a0fce62fd3
3 changed files with 5 additions and 1 deletions

View File

@ -497,6 +497,7 @@ static int check_res( int num, int x, int y, int bpp,
// as long as it's above 50 Hz (acki2 on 30/3/2001)
||
(
(
(new_x == *old_x) &&
(new_y == *old_y) &&
(
@ -510,6 +511,7 @@ static int check_res( int num, int x, int y, int bpp,
new_vbi >= 50
)
)
)
||
// if everything is equal, then use the mode with the lower
// stride

View File

@ -262,7 +262,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
depth = vo_find_depth_from_visuals(mDisplay, mScreen, &visual);
}
if ( !XMatchVisualInfo( mDisplay,mScreen,depth,DirectColor,&vinfo ) ||
WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual))
(WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual)))
XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo );
/* set image size (which is indeed neither the input nor output size),

View File

@ -105,6 +105,8 @@ XF86VidModeModeInfo **vidmodes=NULL;
XF86VidModeModeLine modeline;
#endif
int vo_x11_get_fs_type( int supported );
void vo_hidecursor ( Display *disp , Window win )
{
Cursor no_ptr;