diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 12:03:02 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 12:03:02 +0000 |
commit | e8429f1f5b298dc340425d2c4306167b0205df4d (patch) | |
tree | d0f606698b968fb02f0ac20532fd4fc91930252c /libvo/vo_gl.c | |
parent | bdf9a6321ddd69856ddfccf06678ac90c2442618 (diff) | |
download | mpv-e8429f1f5b298dc340425d2c4306167b0205df4d.tar.bz2 mpv-e8429f1f5b298dc340425d2c4306167b0205df4d.tar.xz |
First attempts at supporting -fs with -wid, -vo gl on X11 only so far
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29556 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 4cc3ebc5cf..4a5f70c3b9 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1149,6 +1149,9 @@ static int control(uint32_t request, void *data, ...) if (scaled_osd) {r->w = image_width; r->h = image_height;} else if (vo_fs) { r->w = vo_screenwidth; r->h = vo_screenheight; + if (WinID >= 0) { + r->w = vo_dwidth; r->h = vo_dheight; + } r->ml = r->mr = ass_border_x; r->mt = r->mb = ass_border_y; } else { |