[vlc-commits] live555 : when we switch to TCP, remember it

Sébastien Escudier git at videolan.org
Mon Dec 5 16:32:56 CET 2011


vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Thu Dec  1 09:26:01 2011 +0100| [9196a5abbff44de412214da14f3586c4452b9963] | committer: Sébastien Escudier

live555 : when we switch to TCP, remember it

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

 modules/demux/live555.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 7b4e874..df55529 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -677,7 +677,7 @@ static int SessionsSetup( demux_t *p_demux )
     MediaSubsessionIterator *iter   = NULL;
     MediaSubsession         *sub    = NULL;
 
-    bool           b_rtsp_tcp = false;
+    bool           b_rtsp_tcp;
     int            i_client_port;
     int            i_return = VLC_SUCCESS;
     unsigned int   i_buffer = 0;
@@ -777,6 +777,11 @@ static int SessionsSetup( demux_t *p_demux )
                                  p_sys->env->getResultMsg() );
                         continue;
                     }
+                    else
+                    {
+                        var_SetBool( p_demux, "rtsp-tcp", true );
+                        b_rtsp_tcp = true;
+                    }
                 }
             }
 



More information about the vlc-commits mailing list