libvlc: Use a valid pointer as thread var. Only to ease debugging.
authorPierre d'Herbemont <pdherbemont@free.fr>
Sat, 6 Jun 2009 02:47:22 +0000 (19:47 -0700)
committerPierre d'Herbemont <pdherbemont@free.fr>
Tue, 9 Jun 2009 04:24:02 +0000 (21:24 -0700)
src/control/event_async.c

index c16c9d3..cf77f7a 100644 (file)
@@ -264,7 +264,7 @@ static void * event_async_loop(void * arg)
     libvlc_event_listener_t listener;
     libvlc_event_t event;
 
     libvlc_event_listener_t listener;
     libvlc_event_t event;
 
-    vlc_threadvar_set(queue(p_em)->is_asynch_dispatch_thread_var, (void*)true);
+    vlc_threadvar_set(queue(p_em)->is_asynch_dispatch_thread_var, p_em);
 
     queue_lock(p_em);
     while (true) {
 
     queue_lock(p_em);
     while (true) {