summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorvayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-08 16:48:41 +0000
committervayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-08 16:48:41 +0000
commitf73c2ed71207a3dd935e4cb3ee108c7a2c33efd5 (patch)
tree3e36b200a83049d8cbede05c7f2707a3aed8d68f /libvo
parent6fd3c9681751bdf75a374ce05b6cb084e507580e (diff)
downloadmpv-f73c2ed71207a3dd935e4cb3ee108c7a2c33efd5.tar.bz2
mpv-f73c2ed71207a3dd935e4cb3ee108c7a2c33efd5.tar.xz
handle sub-window WinID checks in the gui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18957 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_directx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 05b9cc5bb6..582002e50b 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1316,7 +1316,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
vo_dy = 0;
#ifdef HAVE_NEW_GUI
- if(use_gui && WinID != -1){
+ if(use_gui){
vo_dwidth = d_image_width;
vo_dheight = d_image_height;
guiGetEvent(guiSetShVideo, 0);