[vlc-commits] lua: fix "center" OSD alignment (refs #6326)

Rémi Denis-Courmont git at videolan.org
Thu Nov 8 18:13:44 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov  8 19:12:50 2012 +0200| [c1157eb5cc71a6c1c2210957bcc7f9cc0c744d6a] | committer: Rémi Denis-Courmont

lua: fix "center" OSD alignment (refs #6326)

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

 modules/lua/libs/osd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/libs/osd.c b/modules/lua/libs/osd.c
index e06646b..4a30b12 100644
--- a/modules/lua/libs/osd.c
+++ b/modules/lua/libs/osd.c
@@ -92,7 +92,7 @@ static int vlc_osd_position_from_string( const char *psz_name )
         int i_position;
         const char *psz_name;
     } pp_icons[] =
-        { { SUBPICTURE_ALIGN_MASK,                          "center"       },
+        { { 0,                                              "center"       },
           { SUBPICTURE_ALIGN_LEFT,                          "left"         },
           { SUBPICTURE_ALIGN_RIGHT,                         "rigth"        },
           { SUBPICTURE_ALIGN_TOP,                           "top"          },



More information about the vlc-commits mailing list