[vlc-commits] rtp: fix --sout-rtp-sap

Rémi Denis-Courmont git at videolan.org
Sun Feb 9 14:02:29 CET 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb  9 14:58:36 2020 +0200| [177180e55267603775e6150374ded00703c49037] | committer: Rémi Denis-Courmont

rtp: fix --sout-rtp-sap

Match the syntax expected by SDPHandleUrl().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=177180e55267603775e6150374ded00703c49037
---

 modules/stream_out/rtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index d4c7460477..3c2363305a 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -597,7 +597,7 @@ static int Open( vlc_object_t *p_this )
     p_stream->pace_nocontrol = true;
 
     if( var_GetBool( p_stream, SOUT_CFG_PREFIX"sap" ) )
-        SDPHandleUrl( p_stream, "sap" );
+        SDPHandleUrl( p_stream, "sap://" );
 
     psz = var_GetNonEmptyString( p_stream, SOUT_CFG_PREFIX "sdp" );
     if( psz != NULL )



More information about the vlc-commits mailing list