diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-10 13:47:41 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-10 13:47:41 +0000 |
commit | 07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a (patch) | |
tree | 22d7d624c7e9364f3c5f77f952d744e79a88de01 /libvo/vo_gl.c | |
parent | a846b34f3e18b95401e97e1e4c788205d39bbee3 (diff) | |
download | mpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.bz2 mpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.xz |
Change vo_draw_text to a vo_draw_text_ext function which draws DVD navigation
highlights at the correct position with the high-resolution OSD of -vo gl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28290 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 6560b325fb..30402233af 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -612,7 +612,8 @@ static void draw_osd(void) clearOSD(); osd_w = scaled_osd ? image_width : vo_dwidth; osd_h = scaled_osd ? image_height : vo_dheight; - vo_draw_text(osd_w, osd_h, create_osd_texture); + vo_draw_text_ext(osd_w, osd_h, ass_border_x, ass_border_y, ass_border_x, ass_border_y, + image_width, image_height, create_osd_texture); } if (vo_doublebuffering) do_render_osd(); } |