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
...@@ -937,9 +937,6 @@ static void* hls_Thread(vlc_object_t *p_this) ...@@ -937,9 +937,6 @@ static void* hls_Thread(vlc_object_t *p_this)
p_sys->wakeup = p_sys->last + (2 * (mtime_t)1000000); p_sys->wakeup = p_sys->last + (2 * (mtime_t)1000000);
} }
mwait(p_sys->wakeup); 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) 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