[vlc-devel] [PATCH 2/2] Align text to bottom of the picture.

Tomer Barletz barletz at gmail.com
Mon Jun 6 11:29:19 CEST 2011


---
 modules/codec/stl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/stl.c b/modules/codec/stl.c
index 981333f..1c8388d 100644
--- a/modules/codec/stl.c
+++ b/modules/codec/stl.c
@@ -165,6 +165,7 @@ static subpicture_t *Decode(decoder_t *dec, block_t **block)
                                             payload_size,
                                             cct_nums[dec->p_sys->cct - CCT_BEGIN].str);
         sub->p_region->psz_html = NULL;
+        sub->p_region->i_align = SUBPICTURE_ALIGN_BOTTOM | var_InheritInteger(dec, "subsdec-align");
     }
 
     free(payload);
-- 
1.7.4.1




More information about the vlc-devel mailing list