]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/bridge.c
Handle removal
[vlc] / modules / stream_out / bridge.c
index b5f9d45f0ed635730fe286ecf9d9011fc799b924..fef9ef1f6c5fca9d87d4a2dafc5926856967bb54 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * bridge.c: bridge stream output module
  *****************************************************************************
- * Copyright (C) 2005 VideoLAN
+ * Copyright (C) 2005 the VideoLAN team
  * $Id$
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
@@ -136,7 +136,7 @@ static bridge_t *__GetBridge( vlc_object_t *p_object )
     else
     {
         p_bridge = val.p_address;
-    }    
+    }
 
     return p_bridge;
 }
@@ -286,6 +286,8 @@ static int DelOut( sout_stream_t *p_stream, sout_stream_id_t *id )
     p_es->b_changed = VLC_TRUE;
     vlc_mutex_unlock( p_sys->p_lock );
 
+    p_sys->b_inited = VLC_FALSE;
+
     return VLC_SUCCESS;
 }