Commit 6dc52f6e authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Rafaël Carré

Fix positioning so that the EIA-608 field is properly centered

Because the subpicture field contains all the lines, we need to change the
layout.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent d437095f
...@@ -327,7 +327,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h ...@@ -327,7 +327,7 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h
subpicture_updater_sys_t *p_spu_sys = p_spu->updater.p_sys; subpicture_updater_sys_t *p_spu_sys = p_spu->updater.p_sys;
p_spu_sys->align = SUBPICTURE_ALIGN_BOTTOM; p_spu_sys->align = SUBPICTURE_ALIGN_TOP | SUBPICTURE_ALIGN_LEFT;
p_spu_sys->text = psz_subtitle; p_spu_sys->text = psz_subtitle;
p_spu_sys->html = psz_html; p_spu_sys->html = psz_html;
......
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