[vlc-devel] commit: Remove another unsafe sout cleanup hack ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Jun 4 20:22:43 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jun 4 21:24:25 2008 +0300| [a03298340f2ff224d52446bb3ad55eb4208fac52]
Remove another unsafe sout cleanup hack
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a03298340f2ff224d52446bb3ad55eb4208fac52
---
src/playlist/engine.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 35fc7d7..67b4d00 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -209,21 +209,6 @@ static void ObjectGarbageCollector( playlist_t *p_playlist, bool b_force )
vlc_object_release( p_obj );
vlc_object_release( (vout_thread_t *)p_obj );
}
-#ifdef ENABLE_SOUT
- while( ( p_obj = vlc_object_find( p_playlist, VLC_OBJECT_SOUT,
- FIND_CHILD ) ) )
- {
- if( p_obj->p_parent != VLC_OBJECT(p_playlist) )
- {
- vlc_object_release( p_obj );
- break;
- }
- msg_Dbg( p_playlist, "garbage collector destroying 1 sout" );
- vlc_object_detach( p_obj );
- vlc_object_release( p_obj );
- sout_DeleteInstance( (sout_instance_t*)p_obj );
- }
-#endif
p_playlist->b_cant_sleep = false;
vlc_mutex_unlock( &p_playlist->gc_lock );
}
More information about the vlc-devel
mailing list