diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-06 08:24:20 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-06 08:36:46 +0300 |
commit | aeafa7a2b46e8ee84c9fe277d9cc6f14666a0465 (patch) | |
tree | 7f1561a1d0ed83b004e80b8144aac4921e2e8498 /codec-cfg.h | |
parent | 9298acdd605c49eeec6e8b6dc4b2a33b2aab40b5 (diff) |
vo_xv: avoid clearing too much on resize
vo_xv set the "use_fs" parameter to vo_x11_clearwindow_part(). This
meant it always used the whole screen size to calculate the area to
clear. I can't see why overriding the vo->dwidth/dheight values would
ever be the right thing to do (if in fullscreen they should be set to
match that), so remove the use_fs parameter and always use the
dwidth/dheight values in the function. Also delete code drawing back
borders in vo_xv_draw colorkey. That should already happen in
vo_x11_clearwindow_part(); if it doesn't then things need to be fixed
anyway because colorkey code only ran in fullscreen mode (but borders
must work in window mode too).
Diffstat (limited to 'codec-cfg.h')
0 files changed, 0 insertions, 0 deletions