From: Laurent Aimar Date: Wed, 15 Apr 2009 20:09:27 +0000 (+0200) Subject: Fixed TCP rollover. X-Git-Tag: 1.0.0-pre2~42^2~2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0f3ae54f9aecf98b2ecf5943a2b2201836092520;p=vlc Fixed TCP rollover. The timeout parameters were not reinitialized. --- diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index d010da54df..cb4d27a23d 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; }