diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index edb53a10a1..30b3e3c3da 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -3898,7 +3898,7 @@ gst_mpd_client_get_next_fragment_duration (GstMpdClient * client, GstActiveStream * stream) { GstMediaSegment *media_segment = NULL; - guint seg_idx; + gint seg_idx; g_return_val_if_fail (stream != NULL, 0); @@ -4251,7 +4251,7 @@ gst_mpd_client_get_next_segment_availability_end_time (GstMpdClient * client, GstActiveStream * stream) { GstDateTime *availability_start_time, *rv; - guint seg_idx; + gint seg_idx; GstClockTime seg_duration; gint64 offset; GstStreamPeriod *stream_period; diff --git a/ext/dash/gstmpdparser.h b/ext/dash/gstmpdparser.h index 9f7f78b39c..43c454b44e 100644 --- a/ext/dash/gstmpdparser.h +++ b/ext/dash/gstmpdparser.h @@ -456,7 +456,7 @@ struct _GstActiveStream GstSegmentBaseType *cur_segment_base; /* active segment base */ GstSegmentListNode *cur_segment_list; /* active segment list */ GstSegmentTemplateNode *cur_seg_template; /* active segment template */ - guint segment_index; /* index of next sequence chunk */ + gint segment_index; /* index of next sequence chunk */ guint segment_repeat_index; /* index of the repeat count of a segment */ GPtrArray *segments; /* array of GstMediaSegment */ GstClockTime presentationTimeOffset; /* presentation time offset of the current segment */