From f73c2ed71207a3dd935e4cb3ee108c7a2c33efd5 Mon Sep 17 00:00:00 2001 From: vayne Date: Sat, 8 Jul 2006 16:48:41 +0000 Subject: [PATCH] handle sub-window WinID checks in the gui. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18957 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);