From e0cf4dcdb2dca81e8440fc6551df44b284de3094 Mon Sep 17 00:00:00 2001 From: pontscho Date: Thu, 7 Feb 2002 17:42:37 +0000 Subject: [PATCH] fix color key handling bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4571 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xvidix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index ad546e41ab..f4315112fa 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -173,6 +173,8 @@ static void set_window(int force_update,const vo_tune_info_t *info) /* mDrawColorKey: */ /* fill drawable with specified color */ + XSetBackground( mDisplay,mGC,0 ); + XClearWindow( mDisplay,mWindow ); XSetForeground(mDisplay, mGC, fgColor); XFillRectangle(mDisplay, mWindow, mGC, drwX, drwY, drwWidth, (mFullscreen ? drwHeight - 1 : drwHeight));