]> git.sesse.net Git - vlc/commitdiff
Letf over from libvlc->playlist vout
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 26 Mar 2008 16:35:25 +0000 (17:35 +0100)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 26 Mar 2008 16:36:07 +0000 (17:36 +0100)
src/playlist/engine.c

index 0aab56c42c286db8ecd5b760d9fe86f071f45be4..bf0201df4e64bc810ab3f5c9f585213a4ab25050 100644 (file)
@@ -224,10 +224,10 @@ static void ObjectGarbageCollector( playlist_t *p_playlist, vlc_bool_t b_force )
     }
 
     vlc_mutex_lock( &p_playlist->gc_lock );
-    while( ( p_obj = vlc_object_find( p_playlist, VLC_OBJECT_VOUT,
+    while( ( p_obj = vlc_object_find( p_playlist->p_libvlc, VLC_OBJECT_VOUT,
                                                   FIND_CHILD ) ) )
     {
-        if( p_obj->p_parent != VLC_OBJECT(p_playlist) )
+        if( p_obj->p_parent != VLC_OBJECT(p_playlist->p_libvlc) )
         {
             vlc_object_release( p_obj );
             break;