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)*/
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)
{