]> git.sesse.net Git - vlc/commitdiff
* Less checks on muxer type.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 16 Feb 2003 14:03:56 +0000 (14:03 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 16 Feb 2003 14:03:56 +0000 (14:03 +0000)
modules/access_output/udp.c

index f4ada86f5d420807338fbdc79d10970c4c7e5599..adafeca4b518800090150891842217d9271ec8ad 100644 (file)
@@ -2,7 +2,7 @@
  * udp.c
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: udp.c,v 1.2 2003/01/23 15:52:04 sam Exp $
+ * $Id: udp.c,v 1.3 2003/02/16 14:03:56 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Eric Petit <titer@videolan.org>
@@ -129,8 +129,9 @@ static int Open( vlc_object_t *p_this )
     if( p_sout->psz_access != NULL &&
         !strcmp( p_sout->psz_access, "rtp" ) )
     {
-         if( p_sout->psz_mux != NULL &&
-            strcmp( p_sout->psz_mux, "ts" ) )
+         if( p_sout->psz_mux != NULL && *p_sout->psz_mux &&
+             strcmp( p_sout->psz_mux, "ts" ) &&
+             strcmp( p_sout->psz_mux, "ts_dvbpsi" ))
         {
             msg_Err( p_sout, "rtp ouput work only with ts payload" );
             free( p_access );