Commit fa65c514 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

VoD: inform about RTSP destination syntax change

parent c3a1a763
......@@ -272,6 +272,18 @@ static void MediaSetup( vod_t *p_vod, vod_media_t *p_media,
vlc_UrlParse( &url, psz_url, 0 );
free( psz_url );
if( url.psz_host != NULL )
{
msg_Err( p_vod, "\"%s\" RTSP host ignored", url.psz_host );
msg_Info( p_vod, "Pass --rtsp-host=%s on the command line "
"instead.", url.psz_host );
}
if( url.i_port != 0 )
{
msg_Err( p_vod, "\"%u\" RTSP port ignored", url.i_port );
msg_Info( p_vod, "Pass --rtsp-port=%u on the command line "
"instead.", url.i_port );
}
p_media->rtsp = RtspSetup(VLC_OBJECT(p_vod), p_media, url.psz_path);
vlc_UrlClean( &url );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment