diff options
Diffstat (limited to 'libvo/vo_xvmc.c')
-rw-r--r-- | libvo/vo_xvmc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 5a13d0e71a..89fb2e6fe8 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -460,7 +460,7 @@ XWindowAttributes attribs; unsigned long xswamask; int depth; #ifdef CONFIG_XF86VM -int vm=0; +int vm = flags & VOFLAG_MODESWITCHING; #endif //end of vo_xv @@ -632,10 +632,6 @@ found_subpic: skip_surface_allocation: -#ifdef CONFIG_XF86VM - if( flags&VOFLAG_MODESWITCHING ) vm = 1; -#endif - #ifdef CONFIG_GUI if(use_gui) guiGetEvent( guiSetShVideo,0 ); // let the GUI to setup/resize our window @@ -1033,9 +1029,6 @@ int i,cfs; } static void check_events(void){ -Window mRoot; -uint32_t drwBorderWidth,drwDepth; - int e=vo_x11_check_events(mDisplay); if(e&VO_EVENT_RESIZE) { |