Commit 2d06277c authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: p_sys->segment reset in hls_Thread is not needed.

commit id: 4929a92d makes this code obsolete
parent 4c4ac431
......@@ -61,7 +61,7 @@ vlc_module_end()
typedef struct segment_s
{
int sequence; /* unique sequence number */
int duration; /* segment duration (seconds) */
int duration; /* segment duration (seconds) */
uint64_t size; /* segment size in bytes */
uint64_t bandwidth; /* bandwidth usage of segments (bits per second)*/
......@@ -937,9 +937,6 @@ static void* hls_Thread(vlc_object_t *p_this)
p_sys->wakeup = p_sys->last + (2 * (mtime_t)1000000);
}
mwait(p_sys->wakeup);
/* reset download segment to current playback segment */
client->segment = p_sys->segment + 1;
}
else if (Download(client->s, hls, segment, &client->current) != VLC_SUCCESS)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment