]> git.sesse.net Git - vlc/commitdiff
if no mux, add TS also for RTP
authorMarian Durkovic <md@videolan.org>
Sun, 23 Oct 2005 09:14:19 +0000 (09:14 +0000)
committerMarian Durkovic <md@videolan.org>
Sun, 23 Oct 2005 09:14:19 +0000 (09:14 +0000)
modules/stream_out/standard.c

index fbbc0fa44fa050f7388e8411d7b9b6ed83cfa21c..d56f9e19482ff5b41c5fee15690f001df4e41f0c 100644 (file)
@@ -241,7 +241,8 @@ static int Open( vlc_object_t *p_this )
         {
             psz_mux = strdup("asfh");
         }
-        else if( !strncmp( psz_access, "udp", 3 ) )
+        else if( !strncmp( psz_access, "udp", 3 ) ||
+                 !strncmp( psz_access, "rtp", 3 ) )
         {
             psz_mux = strdup("ts");
         }