[vlc-commits] RTP: inform about RTSP destination syntax change
Rémi Denis-Courmont
git at videolan.org
Wed Sep 28 21:43:43 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep 28 22:39:57 2011 +0300| [c3a1a763f1fb479f9278aad62432f920f81a2cc6] | committer: Rémi Denis-Courmont
RTP: inform about RTSP destination syntax change
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3a1a763f1fb479f9278aad62432f920f81a2cc6
---
modules/stream_out/rtp.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 958470d..49241c5 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -717,6 +717,18 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url )
goto out;
}
+ if( url.psz_host != NULL )
+ {
+ msg_Err( p_stream, "\"%s\" RTSP host ignored", url.psz_host );
+ msg_Info( p_stream, "Pass --rtsp-host=%s on the command line "
+ "instead.", url.psz_host );
+ }
+ if( url.i_port != 0 )
+ {
+ msg_Err( p_stream, "\"%u\" RTSP port ignored", url.i_port );
+ msg_Info( p_stream, "Pass --rtsp-port=%u on the command line "
+ "instead.", url.i_port );
+ }
p_sys->rtsp = RtspSetup( VLC_OBJECT(p_stream), NULL, url.psz_path );
if( p_sys->rtsp == NULL )
msg_Err( p_stream, "cannot export SDP as RTSP" );
More information about the vlc-commits
mailing list