[vlc-commits] STL: correctly align at the bottom

Jean-Baptiste Kempf git at videolan.org
Tue Mar 4 14:02:33 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar  4 14:02:16 2014 +0100| [02b2b799388f90014e1d3a4e3df4a3b0320acf4e] | committer: Jean-Baptiste Kempf

STL: correctly align at the bottom

Close #9833

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02b2b799388f90014e1d3a4e3df4a3b0320acf4e
---

 modules/codec/stl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/stl.c b/modules/codec/stl.c
index dd72b4c..46b2b6d 100644
--- a/modules/codec/stl.c
+++ b/modules/codec/stl.c
@@ -164,6 +164,7 @@ static subpicture_t *Decode(decoder_t *dec, block_t **block)
         sub->p_region->psz_text = ParseText(payload,
                                             payload_size,
                                             cct_nums[dec->p_sys->cct - CCT_BEGIN].str);
+        sub->p_region->i_align = SUBPICTURE_ALIGN_BOTTOM;
         sub->p_region->psz_html = NULL;
     }
 



More information about the vlc-commits mailing list