summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-15 19:32:22 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:10:24 +0200
commitc107c484b69fbd4dc4ada95fc3d5d098666bf827 (patch)
treec88cb3bacbcb4204b31bbd1904996d641fbfbdfc /libvo
parentebbf5fb7a22b91fcd0b88f46258aa9ab9a349c92 (diff)
downloadmpv-c107c484b69fbd4dc4ada95fc3d5d098666bf827.tar.bz2
mpv-c107c484b69fbd4dc4ada95fc3d5d098666bf827.tar.xz
vo_gl: More sensible behaviour for -geometry with -wid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31428 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index ef82316259..c57285c922 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -198,7 +198,7 @@ static void resize(int x,int y){
mp_msg(MSGT_VO, MSGL_V, "[gl] Resize: %dx%d\n",x,y);
if (WinID >= 0) {
int top = 0, left = 0, w = x, h = y;
- geometry(&top, &left, &w, &h, vo_screenwidth, vo_screenheight);
+ geometry(&top, &left, &w, &h, vo_dwidth, vo_dheight);
mpglViewport(top, left, w, h);
} else
mpglViewport( 0, 0, x, y );