asf.c: allow adding tracks on-fly when doing normal asf muxing
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 30 Sep 2009 13:31:56 +0000 (16:31 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 6 Oct 2009 19:41:34 +0000 (22:41 +0300)
modules/mux/asf.c

index cd8c8b4..86adb0f 100644 (file)
@@ -326,7 +326,7 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
        case MUX_CAN_ADD_STREAM_WHILE_MUXING:
            pb_bool = (bool*)va_arg( args, bool * );
            if( p_sys->b_asf_http ) *pb_bool = true;
-           else *pb_bool = false;
+           else *pb_bool = true;
            return VLC_SUCCESS;
 
        case MUX_GET_ADD_STREAM_WAIT: