Mercurial > mplayer.hg
comparison libvo/vo_gl.c @ 29514:23a59bb3baf4
First attempts at supporting -fs with -wid, -vo gl on X11 only so far
author | reimar |
---|---|
date | Thu, 27 Aug 2009 12:03:02 +0000 |
parents | 0f1b5b68af32 |
children | 0421934c81ac |
comparison
equal
deleted
inserted
replaced
29513:3dd6ae109bd2 | 29514:23a59bb3baf4 |
---|---|
1147 mp_eosd_res_t *r = data; | 1147 mp_eosd_res_t *r = data; |
1148 r->mt = r->mb = r->ml = r->mr = 0; | 1148 r->mt = r->mb = r->ml = r->mr = 0; |
1149 if (scaled_osd) {r->w = image_width; r->h = image_height;} | 1149 if (scaled_osd) {r->w = image_width; r->h = image_height;} |
1150 else if (vo_fs) { | 1150 else if (vo_fs) { |
1151 r->w = vo_screenwidth; r->h = vo_screenheight; | 1151 r->w = vo_screenwidth; r->h = vo_screenheight; |
1152 if (WinID >= 0) { | |
1153 r->w = vo_dwidth; r->h = vo_dheight; | |
1154 } | |
1152 r->ml = r->mr = ass_border_x; | 1155 r->ml = r->mr = ass_border_x; |
1153 r->mt = r->mb = ass_border_y; | 1156 r->mt = r->mb = ass_border_y; |
1154 } else { | 1157 } else { |
1155 r->w = vo_dwidth; r->h = vo_dheight; | 1158 r->w = vo_dwidth; r->h = vo_dheight; |
1156 } | 1159 } |