[vlc-devel] commit: Print an error when trying to add more than one ES to the bridge-out module . (Antoine Cellerier )
    git version control 
    git at videolan.org
       
    Thu Sep  4 15:10:21 CEST 2008
    
    
  
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Thu Sep  4 14:49:48 2008 +0200| [e51f04368c21e03a988e4649b26de43df54cdea7] | committer: Antoine Cellerier 
Print an error when trying to add more than one ES to the bridge-out module.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e51f04368c21e03a988e4649b26de43df54cdea7
---
 modules/stream_out/bridge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/stream_out/bridge.c b/modules/stream_out/bridge.c
index 70d7647..3f09806 100644
--- a/modules/stream_out/bridge.c
+++ b/modules/stream_out/bridge.c
@@ -254,6 +254,7 @@ static sout_stream_id_t * AddOut( sout_stream_t *p_stream, es_format_t *p_fmt )
 
     if ( p_sys->b_inited )
     {
+        msg_Err( p_stream, "bridge-out can only handle 1 es at a time." );
         return NULL;
     }
     p_sys->b_inited = true;
    
    
More information about the vlc-devel
mailing list