vo_xv: avoid setting background color due to resize flicker
commit15513a77fb375acfbda6de36b806c0070472d04d
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 29 May 2011 22:46:52 +0000 (29 22:46 +0000)
committerUoti Urpala <uau@mplayer2.org>
Wed, 6 Jul 2011 06:03:12 +0000 (6 09:03 +0300)
treea4af56319849d67ca381474794a5cc5e3578120c
parente00b1d7f7fdab471461cfa2dfca602ac311b55fd
vo_xv: avoid setting background color due to resize flicker

Set background color only when using ck-method=background. In the
other cases clearing of the non-video image area should be done
manually. Not drawing on the video image area prevents flickering
(visible when resizing).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33522 b3059339-0415-0410-9bf9-f77b7e298cf2
libvo/vo_xv.c