]> git.sesse.net Git - vlc/blobdiff - modules/codec/telx.c
Patch by Bernie Purcell :
[vlc] / modules / codec / telx.c
index 0fdde18bc7a628bffa8d7d1cde21d6fbf66a824c..123cd52b779f4baca76fc967baef78601f2f5189 100644 (file)
@@ -711,7 +711,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
     }
 
     /* Normal text subs, easy markup */
-    p_spu->i_flags = SUBPICTURE_ALIGN_BOTTOM | p_sys->i_align;
+    p_spu->p_region->i_align = SUBPICTURE_ALIGN_BOTTOM | p_sys->i_align;
     p_spu->i_x = p_sys->i_align ? 20 : 0;
     p_spu->i_y = 10;