Commit 845b1179 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Change positioning of teletext subtitles.

parent 54ef642c
......@@ -257,9 +257,10 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
}
p_spu->p_region->i_x = 0;
p_spu->p_region->i_y = 0;
p_spu->p_region->i_align = SUBPICTURE_ALIGN_TOP;
/* Normal text subs, easy markup */
p_spu->i_flags = SUBPICTURE_ALIGN_TOP;
p_spu->i_flags = SUBPICTURE_ALIGN_BOTTOM;
p_spu->i_start = p_block->i_pts;
p_spu->i_stop = 0;
......@@ -297,7 +298,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
case VBI_TRANSPARENT_FULL:
/* Transparency for boxed text */
case VBI_SEMI_TRANSPARENT:
if( (*p_begin & 0xffffff00) == 0xff )
if( (*p_begin & 0xffffff00) == 0xff )
*p_begin = 0;
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment