[vlc-devel] [PATCH] lib: fix position enumeration values

Mark Lee mark.lee at capricasoftware.co.uk
Tue May 20 12:42:07 CEST 2014


---
 include/vlc/libvlc_media_player.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 291343a..ce13a44 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -124,16 +124,16 @@ typedef enum libvlc_navigate_mode_t
  * Enumeration of values used to set position (e.g. of video title).
  */
 typedef enum libvlc_position_t {
-    libvlc_position_disable=-1,
-    libvlc_position_center,
-    libvlc_position_left,
-    libvlc_position_right,
-    libvlc_position_top,
-    libvlc_position_top_left,
-    libvlc_position_top_right,
-    libvlc_position_bottom,
-    libvlc_position_bottom_left,
-    libvlc_position_bottom_right
+    libvlc_position_disable      = -1,
+    libvlc_position_center       =  0,
+    libvlc_position_left         =  1,
+    libvlc_position_right        =  2,
+    libvlc_position_top          =  4,
+    libvlc_position_top_left     =  5,
+    libvlc_position_top_right    =  6,
+    libvlc_position_bottom       =  8,
+    libvlc_position_bottom_left  =  9,
+    libvlc_position_bottom_right = 10
 } libvlc_position_t;
 
 /**
-- 
1.9.1




More information about the vlc-devel mailing list