Commit 3344e511 authored by François Cartegnie's avatar François Cartegnie 🤞

codec: subsdec: fix ssa forced alignment

(cherry picked from commit 4efe1ff5)
parent c1e13d4c
......@@ -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 );
......
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