src/control/media_descriptor.c: Forward vlc_InputItemMetaChanged events.
[vlc.git] / include / vlc / libvlc_structures.h
index 29a5223..13d7eac 100644 (file)
@@ -91,7 +91,7 @@ typedef enum libvlc_meta_t {
     libvlc_meta_Description,
     libvlc_meta_Rating,
     libvlc_meta_Date,
-    libvlc_meta_Settings,
+    libvlc_meta_Setting,
     libvlc_meta_URL,
     libvlc_meta_Language,
     libvlc_meta_NowPlaying,
@@ -241,6 +241,7 @@ typedef struct libvlc_log_message_t
  */
 
 typedef enum libvlc_event_type_t {
+    libvlc_MediaDescriptorMetaChanged,
     libvlc_MediaInstanceReachedEnd,
     libvlc_MediaListItemAdded,
     libvlc_MediaListItemDeleted,
@@ -260,6 +261,10 @@ typedef struct libvlc_event_t
     void * p_obj;
     union event_type_specific
     {
+        struct
+        {
+            libvlc_meta_t meta_type;
+        } media_descriptor_meta_changed;
         struct
         {
             libvlc_media_descriptor_t * item;