[vlc-commits] main: update VLC_META_TYPE_COUNT
Thomas Guillem
git at videolan.org
Fri Dec 19 11:58:07 CET 2014
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Dec 19 11:46:31 2014 +0100| [e7c108d7d307feb7cfecf8c9e5a47a64ab96afae] | 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.git/?a=commit;h=e7c108d7d307feb7cfecf8c9e5a47a64ab96afae
---
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 bb82c3b..e466440 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -60,7 +60,7 @@ typedef enum vlc_meta_type_t
vlc_meta_DiscNumber
} vlc_meta_type_t;
-#define VLC_META_TYPE_COUNT 25
+#define VLC_META_TYPE_COUNT 26
#define ITEM_PREPARSED 1
#define ITEM_ARTURL_FETCHED 2
diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c
index a524a7d..d21da18 100644
--- a/modules/lua/libs/input.c
+++ b/modules/lua/libs/input.c
@@ -328,6 +328,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