From 0f3ae54f9aecf98b2ecf5943a2b2201836092520 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 15 Apr 2009 22:09:27 +0200 Subject: [PATCH] Fixed TCP rollover. The timeout parameters were not reinitialized. --- modules/demux/live555.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.39.2