[vlc-devel] commit: Fixed TCP rollover. (Laurent Aimar )

git version control git at videolan.org
Wed Apr 15 22:21:28 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr 15 22:09:27 2009 +0200| [0f3ae54f9aecf98b2ecf5943a2b2201836092520] | committer: Laurent Aimar 

Fixed TCP rollover.

The timeout parameters were not reinitialized.

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

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index d010da5..cb4d27a 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1028,7 +1028,13 @@ static int SessionsSetup( demux_t *p_demux )
     /* Retrieve the duration if possible */
     p_sys->i_npt_length = p_sys->ms->playEndTime();
 
+    /* */
     msg_Dbg( p_demux, "setup start: %f stop:%f", p_sys->i_npt_start, p_sys->i_npt_length );
+
+    /* */
+    p_sys->b_no_data = true;
+    p_sys->i_no_data_ti = 0;
+
     return i_return;
 }
 




More information about the vlc-devel mailing list