]> git.sesse.net Git - vlc/commitdiff
Print an error when trying to add more than one ES to the bridge-out module.
authorAntoine Cellerier <dionoea@videolan.org>
Thu, 4 Sep 2008 12:49:48 +0000 (14:49 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Thu, 4 Sep 2008 13:12:40 +0000 (15:12 +0200)
modules/stream_out/bridge.c

index 70d7647f4a254d294eb0cc030ae3d9e527ab4926..3f0980640402192d7312c3b3daacaffda1d83a26 100644 (file)
@@ -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;