]> git.sesse.net Git - vlc/blobdiff - include/vlc_vlm.h
VLM add input events
[vlc] / include / vlc_vlm.h
index 0f16f4d6aa3d386ba98a7f59bdfb0c7383884df1..e0c3aa5c7f6107f717cfb5c404d077cc4a5c608d 100644 (file)
@@ -102,13 +102,16 @@ enum vlm_event_type_e
     /* */
     VLM_EVENT_MEDIA_INSTANCE_STARTED    = 0x200,
     VLM_EVENT_MEDIA_INSTANCE_STOPPED,
+    VLM_EVENT_MEDIA_INSTANCE_STATE,
 };
 
 typedef struct
 {
-    int         i_type;     /* a vlm_event_type_e value */
-    int64_t     id;         /* Media ID */
-    const char *psz_name;   /* Media name */
+    int            i_type;            /* a vlm_event_type_e value */
+    int64_t        id;                /* Media ID */
+    const char    *psz_name;          /* Media name */
+    const char    *psz_instance_name; /* Instance name or NULL */
+    input_state_e  input_state;       /* input instance event type */
 } vlm_event_t;
 
 /** VLM control query */