diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
commit | dbb001bae23b18295014c9fc925538902f956c35 (patch) | |
tree | a7198cff9124bed9cbf3665c6f325c641330e092 /libvo/vo_xvmc.c | |
parent | da39de73a8f773d2516eadd20ea2172efc3df2a3 (diff) | |
download | mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.bz2 mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.xz |
replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xvmc.c')
-rw-r--r-- | libvo/vo_xvmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 8635f0afce..053714b355 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -602,7 +602,7 @@ found_subpic: vo_dwidth=d_width; vo_dheight=d_height; #ifdef HAVE_XF86VM - if( flags&0x02 ) vm = 1; + if( flags&VOFLAG_MODESWITCHING ) vm = 1; #endif aspect_save_screenres(vo_screenwidth,vo_screenheight); @@ -686,7 +686,7 @@ found_subpic: XSetStandardProperties(mDisplay, vo_window, hello, hello, None, NULL, 0, &hint); XSetWMNormalHints( mDisplay,vo_window,&hint ); XMapWindow(mDisplay, vo_window); - if ( flags&1 ) vo_x11_fullscreen(); + if ( flags&VOFLAG_FULLSCREEN ) vo_x11_fullscreen(); else { #ifdef HAVE_XINERAMA vo_x11_xinerama_move(mDisplay,vo_window); @@ -697,7 +697,7 @@ found_subpic: // vo_fs set means we were already at fullscreen vo_x11_sizehint( hint.x, hint.y, hint.width, hint.height,0 ); if ( !vo_fs ) XMoveResizeWindow( mDisplay,vo_window,hint.x,hint.y,hint.width,hint.height ); - if ( flags&1 && !vo_fs ) vo_x11_fullscreen(); // handle -fs on non-first file + if ( flags&VOFLAG_FULLSCREEN && !vo_fs ) vo_x11_fullscreen(); // handle -fs on non-first file } // vo_x11_sizehint( hint.x, hint.y, hint.width, hint.height,0 ); @@ -719,7 +719,7 @@ found_subpic: } aspect(&vo_dwidth,&vo_dheight,A_NOZOOM); - if ( (( flags&1 )&&( WinID <= 0 )) || vo_fs ) + if ( (( flags&VOFLAG_FULLSCREEN )&&( WinID <= 0 )) || vo_fs ) { aspect(&vo_dwidth,&vo_dheight,A_ZOOM); drwX=( vo_screenwidth - (vo_dwidth > vo_screenwidth?vo_screenwidth:vo_dwidth) ) / 2; |