]> git.sesse.net Git - vlc/blobdiff - src/input/vlm_internal.h
VLM : add a dedicated mutex for the manage thread. We must not del callback while...
[vlc] / src / input / vlm_internal.h
index 1e88d568c2d19b12b9006830e3c67d917ae88682..e7ef8235db9b7c2f4bd6ea8c853e48d30c9b2ad6 100644 (file)
@@ -90,8 +90,10 @@ struct vlm_t
 
     vlc_mutex_t  lock;
     vlc_thread_t thread;
-    vlc_cond_t   wait;
-
+    vlc_mutex_t  lock_manage;
+    vlc_cond_t   wait_manage;
+    /* tell vlm thread there is work to do */
+    bool         input_state_changed;
     /* */
     int64_t        i_id;