[vlc-commits] vout: osd: use same text align as regions
Francois Cartegnie
git at videolan.org
Wed Feb 7 23:45:40 CET 2018
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 7 10:34:31 2018 +0100| [01c83ab8fcd4dbac6ab9a5ba90a293ff309cff79] | committer: Jean-Baptiste Kempf
vout: osd: use same text align as regions
as with 2.2
(cherry picked from commit a510715f2a1771922ebc21a191173be10c2a1631)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=01c83ab8fcd4dbac6ab9a5ba90a293ff309cff79
---
src/video_output/video_text.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/video_text.c b/src/video_output/video_text.c
index eb20c9a0b9..58566b4ec6 100644
--- a/src/video_output/video_text.c
+++ b/src/video_output/video_text.c
@@ -80,6 +80,7 @@ static void OSDTextUpdate(subpicture_t *subpic,
const int margin_h = margin_ratio * fmt_dst->i_visible_width;
const int margin_v = margin_ratio * fmt_dst->i_visible_height;
+ r->i_text_align = sys->position;
r->i_align = sys->position;
r->i_x = 0;
if (r->i_align & SUBPICTURE_ALIGN_LEFT)
More information about the vlc-commits
mailing list