summaryrefslogtreecommitdiffstats
path: root/core/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-17 23:01:33 +0100
committerwm4 <wm4@nowhere>2013-03-17 23:01:33 +0100
commitea03cc67122ad8b47e640c868d108d7531536a21 (patch)
tree8da662b25a7f98273237e3c2edefefafade7284f /core/cfg-mplayer.h
parent79d35b8f012a589207e2478394bd6f91928d1349 (diff)
downloadmpv-ea03cc67122ad8b47e640c868d108d7531536a21.tar.bz2
mpv-ea03cc67122ad8b47e640c868d108d7531536a21.tar.xz
x11_common: remove assumption that video is always centered
The vo_x11_clearwindow_part() function assumed that the video is always centered. Replace it with a new vo_x11_clear_background() function instead, which essentially does the same as the old function. It takes the video rectangle instead of just the video size, and doesn't have to make the assumption that the video rectangle is centered. Also make vo_x11 use it (seems advantageous).
Diffstat (limited to 'core/cfg-mplayer.h')
0 files changed, 0 insertions, 0 deletions