]> git.sesse.net Git - vlc/commitdiff
p_root->p_probe: unused, remove
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 16:40:22 +0000 (19:40 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 16:40:22 +0000 (19:40 +0300)
src/libvlc.h
src/misc/devices.c

index 9b793a7adb6f307c7c0d41df86b2038293109c58..6a31ff684386940bde0c5d3a9d6c8734de0e82ac 100644 (file)
@@ -115,7 +115,6 @@ struct libvlc_global_data_t
     vlc_object_t **        pp_objects;  ///< Array of all objects
 
     module_bank_t *        p_module_bank; ///< The module bank
-    intf_thread_t         *p_probe;       ///< Devices prober
 
     /* Arch-specific variables */
 #if defined( SYS_BEOS )
index 609786ef0fe6b96f3bd51d2e09f4177307783b92..e0f839d6055e6cd0dfe90100c453f12735617523 100644 (file)
 #include <vlc/intf.h>
 #include <vlc_devices.h>
 
+static intf_thread_t *p_probe_thread = NULL;
+
 void devices_ProbeCreate( vlc_object_t *p_this )
 {
     intf_thread_t * p_probe;
-    p_this->p_libvlc_global->p_probe = NULL;
 
     /* Allocate structure */
     p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF );
@@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this )
         return;
     }
 
-    p_this->p_libvlc_global->p_probe = p_probe;
+    p_probe_thread = p_probe;
 }
 
 #endif