]> git.sesse.net Git - vlc/commitdiff
Fixed TCP rollover.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 15 Apr 2009 20:09:27 +0000 (22:09 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 15 Apr 2009 20:17:52 +0000 (22:17 +0200)
The timeout parameters were not reinitialized.

modules/demux/live555.cpp

index d010da54df29df7b57303f2e35cebf64e03b0c42..cb4d27a23def3c25980307538868f6e2b3bf6b0d 100644 (file)
@@ -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;
 }