mirror of https://github.com/mpv-player/mpv
missing if(use_gui) - found by Nilmoni Deb <ndeb@ece.cmu.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5976 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
17d676a243
commit
835b369e70
|
@ -299,7 +299,7 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3
|
||||||
#endif
|
#endif
|
||||||
vo_gc=XCreateGC( mDisplay,vo_window,GCForeground,&wGCV );
|
vo_gc=XCreateGC( mDisplay,vo_window,GCForeground,&wGCV );
|
||||||
#ifdef HAVE_NEW_GUI
|
#ifdef HAVE_NEW_GUI
|
||||||
} else guiGetEvent( guiSetShVideo,0 );
|
} else if(use_gui) guiGetEvent( guiSetShVideo,0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
set_window();
|
set_window();
|
||||||
|
|
|
@ -452,7 +452,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_NEW_GUI
|
#ifdef HAVE_NEW_GUI
|
||||||
} else guiGetEvent( guiSetShVideo,0 );
|
} else if(use_gui) guiGetEvent( guiSetShVideo,0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw scaling\n",xv_port );
|
mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw scaling\n",xv_port );
|
||||||
|
|
Loading…
Reference in New Issue