vlc | branch: master | Thomas Guillem <[email protected]> | Mon Feb 29 11:55:15 
2016 +0100| [f4802990ac5ac5f438ba025697bbfe294e805a07] | committer: Thomas 
Guillem

rtsp: fix missing protocol in vlc_credential

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

 modules/access/live555.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 8b0fdcd..44d968c 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -317,6 +317,8 @@ static int  Open ( vlc_object_t *p_this )
 
     /* parse URL for rtsp://[user:[passwd]@]serverip:port/options */
     vlc_UrlParse( &p_sys->url, p_sys->psz_path );
+    /* Add the access protocol to url, it will be used by vlc_credential */
+    p_sys->url.psz_protocol = p_demux->psz_access;
 
     if( ( p_sys->scheduler = BasicTaskScheduler::createNew() ) == NULL )
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to