[vlc-commits] codec: subsdec: fix ssa forced alignment
Francois Cartegnie
git at videolan.org
Tue Mar 13 19:09:28 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar 13 00:11:24 2018 +0100| [4efe1ff533b5514fa86f09fc2867e830603f2ea5] | committer: Francois Cartegnie
codec: subsdec: fix ssa forced alignment
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4efe1ff533b5514fa86f09fc2867e830603f2ea5
---
modules/codec/subsdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/subsdec.c b/modules/codec/subsdec.c
index 868174ba96..c548ffe8e5 100644
--- a/modules/codec/subsdec.c
+++ b/modules/codec/subsdec.c
@@ -457,8 +457,8 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
subpicture_updater_sys_t *p_spu_sys = p_spu->updater.p_sys;
p_spu_sys->region.align = SUBPICTURE_ALIGN_BOTTOM | p_sys->i_align;
- p_spu_sys->region.inner_align = p_sys->i_align;
- p_spu_sys->region.p_segments = ParseSubtitles( &p_spu_sys->region.inner_align, psz_subtitle );
+ p_spu_sys->region.inner_align = SUBPICTURE_ALIGN_BOTTOM;
+ p_spu_sys->region.p_segments = ParseSubtitles( &p_spu_sys->region.align, psz_subtitle );
free( psz_subtitle );
More information about the vlc-commits
mailing list