summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-08 09:48:43 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-08 09:48:43 +0000
commit641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2 (patch)
tree8699307ae6924c12c87a1db21e22161bd75b7ecd /libvo
parent72d755e7dd26ce323f7fa70e6f6649e102582353 (diff)
downloadmpv-641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2.tar.bz2
mpv-641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2.tar.xz
Implement boxes for subtitle teletext pages.
Text is shown in opaque boxes inside transparent teletext page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24364 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/sub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/sub.c b/libvo/sub.c
index 24d4935e7b..54e6e1c6b0 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -405,6 +405,7 @@ inline static void vo_update_text_teletext(mp_osd_obj_t *obj, int dxs, int dys)
x=x0;
for(j=0;j<cols;j++){
tc=tdp[(i+start_row)*VBI_COLUMNS+j];
+ if (tc.hidden) { x+=wm; continue;}
if(!tc.gfx || (tc.flh && !flashon)){
/* Rendering one text character */
draw_alpha_buf(obj,x,y,wm,hm,buf[tc.bg],buf[8],wm);