[vlc-devel] [PATCH] sdp: Create a vlc-0.8.6 compatible sdp by default.

Pierre d'Herbemont pdherbemont at free.fr
Thu Mar 27 01:55:30 CET 2008


From: Pierre d'Herbemont <pdherbemont at videolan.org>

This patch make sure vlc-master can announce SAP stream that are readable by current vlc-0.8.6c. This patch may not be committed as a fix for 0.8.6 is coming, but is left here for archive.
---
 modules/stream_out/standard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c
index 041ce0d..7f80a09 100644
--- a/modules/stream_out/standard.c
+++ b/modules/stream_out/standard.c
@@ -411,7 +411,7 @@ static int Open( vlc_object_t *p_this )
         if (head != NULL)
         {
             if (asprintf (&psz_sdp, "%s"
-                          "m=video %d udp mpeg\r\n", head, dport) == -1)
+                          "m=video %d udp 33\r\n", head, dport) == -1)
                 psz_sdp = NULL;
             free (head);
         }
-- 
1.5.4.4.481.g5075




More information about the vlc-devel mailing list