[vlc-commits] vout: osd: use same text align as regions
Francois Cartegnie
git at videolan.org
Wed Feb 7 10:35:24 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 7 10:34:31 2018 +0100| [a510715f2a1771922ebc21a191173be10c2a1631] | committer: Francois Cartegnie
vout: osd: use same text align as regions
as with 2.2
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a510715f2a1771922ebc21a191173be10c2a1631
---
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