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

Rémi Denis-Courmont git at videolan.org
Mon Feb 10 19:34:37 CET 2020


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

rtp: fix --sout-rtp-sap

Match the syntax expected by SDPHandleUrl().

(cherry picked from commit 177180e55267603775e6150374ded00703c49037)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=197710fa8987b451a84ecbea7deac778180b79ad
---

 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 1cc89b8c9c..ff87ce2080 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -599,7 +599,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