Remove the un-needed horrible vout release hack
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 10 Jan 2009 10:54:59 +0000 (12:54 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 10 Jan 2009 10:54:59 +0000 (12:54 +0200)
src/libvlc.c

index 1bfc437..d6afbc0 100644 (file)
@@ -1062,13 +1062,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     msg_Dbg( p_libvlc, "removing interaction" );
     interaction_Destroy( priv->p_interaction );
 
-    /* Free video outputs */
-    msg_Dbg( p_libvlc, "removing all video outputs" );
-    vlc_list_t *list = vlc_list_find (p_libvlc, VLC_OBJECT_VOUT, FIND_CHILD);
-    for (int i = 0; i < list->i_count; i++)
-        vlc_object_release (list->p_values[i].p_object);
-    vlc_list_release (list);
-
     stats_TimersDumpAll( p_libvlc );
     stats_TimersCleanAll( p_libvlc );