client->current_file_duration = GST_CLOCK_TIME_NONE;
client->sequence = -1;
client->sequence_position = 0;
- client->update_failed_count = 0;
client->highest_sequence_number = -1;
client->duration = GST_CLOCK_TIME_NONE;
g_mutex_init (&client->lock);
GST_M3U8_CLIENT_LOCK (self);
if (m3u8 != self->current) {
self->current = m3u8;
- self->update_failed_count = 0;
self->duration = GST_CLOCK_TIME_NONE;
self->current_file = NULL;
}
if (!gst_m3u8_update (self, m3u8, data, &updated))
goto out;
- if (!updated) {
- self->update_failed_count++;
+ if (!updated)
goto out;
- }
if (self->current && !self->current->files) {
GST_ERROR ("Invalid media playlist, it does not contain any media files");
{
GstM3U8 *main; /* main playlist */
GstM3U8 *current;
- guint update_failed_count;
GList *current_file;
GstClockTime current_file_duration; /* Duration of current fragment */
gint64 sequence; /* the next sequence for this client */