[vlc-devel] commit: Letf over from libvlc->playlist vout (Pierre d'Herbemont )

git version control git at videolan.org
Wed Mar 26 17:36:13 CET 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Mar 26 17:35:25 2008 +0100| [6751879ab6f2d08d810ce7862d0780980d89f8c4]

Letf over from libvlc->playlist vout

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6751879ab6f2d08d810ce7862d0780980d89f8c4
---

 src/playlist/engine.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 0aab56c..bf0201d 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -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;




More information about the vlc-devel mailing list