* 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 f4ada86..adafeca 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 );