]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc_events.h
Fix vlc_about.h generation
[vlc] / include / vlc / libvlc_events.h
index 729c80fa60f65f588a4f9ed6cb036eb55ea040b5..8aa41d820cb6ffd86ed6ba84b603664749d3ed03 100644 (file)
@@ -43,12 +43,13 @@ extern "C" {
  * Event types
  */
 enum libvlc_event_e {
-    /* Append new event types at the end. Do not remove, insert or
-     * re-order any entry. The cpp will prepend libvlc_ to the symbols. */
+    /* Append new event types at the end of a category.
+     * Do not remove, insert or re-order any entry.
+     * Keep this in sync with src/control/event.c:libvlc_event_type_name(). */
     libvlc_MediaMetaChanged=0,
     libvlc_MediaSubItemAdded,
     libvlc_MediaDurationChanged,
-    libvlc_MediaPreparsedChanged,
+    libvlc_MediaParsedChanged,
     libvlc_MediaFreed,
     libvlc_MediaStateChanged,
 
@@ -126,7 +127,7 @@ typedef struct libvlc_event_t
         struct
         {
             int new_status;
-        } media_preparsed_changed;
+        } media_parsed_changed;
         struct
         {
             libvlc_media_t * md;