diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-26 13:34:40 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-26 13:34:40 +0000 |
commit | 8e2054934ae54e87334d7708227f3a91f109825d (patch) | |
tree | 4af22b9ff7db7b9649cd01c8c87610c6665b65d5 /libvo | |
parent | 114b73816fa0a3b5cdb7a156ebd92f91063e0c6d (diff) | |
download | mpv-8e2054934ae54e87334d7708227f3a91f109825d.tar.bz2 mpv-8e2054934ae54e87334d7708227f3a91f109825d.tar.xz |
100l, RESET_GEOMETRY must reset values to INT_MIN, not -1, -1 is a
valid value for e.g. the offsets.
Patch by Benson Mitchell [benson mitchell gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29391 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/geometry.c b/libvo/geometry.c index 189c351fc5..393f575f1c 100644 --- a/libvo/geometry.c +++ b/libvo/geometry.c @@ -30,7 +30,7 @@ char *vo_geometry = NULL; int geometry_wh_changed = 0; int geometry_xy_changed = 0; -#define RESET_GEOMETRY width = height = xoff = yoff = xper = yper = -1; +#define RESET_GEOMETRY width = height = xoff = yoff = xper = yper = INT_MIN; // xpos,ypos: position of the left upper corner // widw,widh: width and height of the window |