summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 8a080bdfb0..27d5463fc8 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1145,14 +1145,12 @@ static int control(uint32_t request, void *data, ...)
case VOCTRL_GET_EOSD_RES:
{
mp_eosd_res_t *r = data;
+ r->w = vo_dwidth; r->h = vo_dheight;
r->mt = r->mb = r->ml = r->mr = 0;
if (scaled_osd) {r->w = image_width; r->h = image_height;}
else if (vo_fs) {
- r->w = vo_dwidth; r->h = vo_dheight;
r->ml = r->mr = ass_border_x;
r->mt = r->mb = ass_border_y;
- } else {
- r->w = vo_dwidth; r->h = vo_dheight;
}
}
return VO_TRUE;