[vlc-commits] video_output: add missing text align on epg text

Francois Cartegnie git at videolan.org
Wed Nov 15 19:20:36 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 15 18:42:23 2017 +0100| [0556c4ac55e8947837de598ea1bdaafed1d5511d] | committer: Francois Cartegnie

video_output: add missing text align on epg text

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0556c4ac55e8947837de598ea1bdaafed1d5511d
---

 src/video_output/video_epg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_output/video_epg.c b/src/video_output/video_epg.c
index 9576eb0682..9e94f7707f 100644
--- a/src/video_output/video_epg.c
+++ b/src/video_output/video_epg.c
@@ -264,6 +264,7 @@ static subpicture_region_t * vout_OSDTextRegion(text_segment_t *p_segment,
 
     region->p_text   = p_segment;
     region->i_align  = SUBPICTURE_ALIGN_LEFT | SUBPICTURE_ALIGN_TOP;
+    region->i_text_align = SUBPICTURE_ALIGN_LEFT | SUBPICTURE_ALIGN_TOP;
     region->i_x      = x;
     region->i_y      = y;
     region->b_balanced_text = false;



More information about the vlc-commits mailing list