Commit 4ab0edaf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove the un-needed horrible vout release hack

parent 65876ac4
...@@ -1062,13 +1062,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc ) ...@@ -1062,13 +1062,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
msg_Dbg( p_libvlc, "removing interaction" ); msg_Dbg( p_libvlc, "removing interaction" );
interaction_Destroy( priv->p_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_TimersDumpAll( p_libvlc );
stats_TimersCleanAll( p_libvlc ); stats_TimersCleanAll( p_libvlc );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment