summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_lavf.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-06 08:24:20 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-06 08:36:46 +0300
commitaeafa7a2b46e8ee84c9fe277d9cc6f14666a0465 (patch)
tree7f1561a1d0ed83b004e80b8144aac4921e2e8498 /libmpdemux/demux_lavf.c
parent9298acdd605c49eeec6e8b6dc4b2a33b2aab40b5 (diff)
downloadmpv-aeafa7a2b46e8ee84c9fe277d9cc6f14666a0465.tar.bz2
mpv-aeafa7a2b46e8ee84c9fe277d9cc6f14666a0465.tar.xz
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 'libmpdemux/demux_lavf.c')
0 files changed, 0 insertions, 0 deletions