[vlc-commits] main: update VLC_META_TYPE_COUNT

Thomas Guillem git at videolan.org
Fri Dec 19 12:16:41 CET 2014


vlc/vlc-2.2 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Dec 19 12:06:48 2014 +0100| [9d6da84e346397bbb568376747ba692d77002f1b] | committer: Ludovic Fauvet

main: update VLC_META_TYPE_COUNT

It was not updated after adding vlc_meta_ESNowPlaying.

Signed-off-by: Ludovic Fauvet <etix at videolan.org>

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

 include/vlc_meta.h       |    2 +-
 modules/lua/libs/input.c |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index 15ef2af..4292095 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -58,7 +58,7 @@ typedef enum vlc_meta_type_t
     vlc_meta_Actors,
 } vlc_meta_type_t;
 
-#define VLC_META_TYPE_COUNT 23
+#define VLC_META_TYPE_COUNT 24
 
 #define ITEM_PREPARSED       1
 #define ITEM_ARTURL_FETCHED  2
diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c
index 5b80080..2d6d835 100644
--- a/modules/lua/libs/input.c
+++ b/modules/lua/libs/input.c
@@ -349,6 +349,7 @@ static int vlclua_input_item_set_meta( lua_State *L )
         META_TYPE( URL, "url" )
         META_TYPE( Language, "language" )
         META_TYPE( NowPlaying, "now_playing" )
+        META_TYPE( ESNowPlaying, "now_playing" )
         META_TYPE( Publisher, "publisher" )
         META_TYPE( EncodedBy, "encoded_by" )
         META_TYPE( ArtworkURL, "artwork_url" )



More information about the vlc-commits mailing list