GDateTime *date_time = NULL;
GstM3U8InitFile *last_init_file = NULL;
GstM3U8MediaSegment *previous = NULL;
+ gboolean is_gap = FALSE;
GST_LOG ("uri: %s", uri);
GST_LOG ("base_uri: %s", base_uri);
title = NULL;
discontinuity = FALSE;
size = offset = -1;
+ is_gap = FALSE;
goto next_line;
}
if (data != NULL) {
dsn, size, offset);
self->duration += duration;
+ file->is_gap = is_gap;
+
/* set encryption params */
if (current_key != NULL) {
file->key = g_strdup (current_key);
last_init_file = init_file;
}
+ } else if (g_str_has_prefix (data_ext_x, "GAP:")) {
+ is_gap = TRUE;
} else {
GST_LOG ("Ignored line: %s", data);
}