Mercurial > mplayer.hg
changeset 29521:f17b515cb326
Simplify -vo gl ass border etc. dimension calculation one bit more.
author | reimar |
---|---|
date | Thu, 27 Aug 2009 14:07:15 +0000 |
parents | 4b7745079fd1 |
children | 26ca161275d6 |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Thu Aug 27 14:01:39 2009 +0000 +++ b/libvo/vo_gl.c Thu Aug 27 14:07:15 2009 +0000 @@ -1145,14 +1145,12 @@ 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;