diff options
author | wm4 <wm4@nowhere> | 2013-03-17 23:01:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-17 23:01:33 +0100 |
commit | ea03cc67122ad8b47e640c868d108d7531536a21 (patch) | |
tree | 8da662b25a7f98273237e3c2edefefafade7284f /DOCS/encoding.rst | |
parent | 79d35b8f012a589207e2478394bd6f91928d1349 (diff) | |
download | mpv-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 'DOCS/encoding.rst')
0 files changed, 0 insertions, 0 deletions