}
gst_mpd_client_set_segment_index (active_stream, current_sequence);
}
- /* Calculate offset in the next fragment */
- demux->position = gst_mpd_client_get_current_position (demux->client);
- demux->position_shift = demux->segment.start - demux->position;
- //GST_MPD_CLIENT_UNLOCK (demux->client);
if (flags & GST_SEEK_FLAG_FLUSH) {
GST_DEBUG_OBJECT (demux, "Sending flush stop on all pad");
demux->segment.time));
}
demux->need_segment = FALSE;
- demux->position_shift = 0;
}
GST_DEBUG_OBJECT (demux,
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
demux->last_manifest_update = GST_CLOCK_TIME_NONE;
- demux->position = 0;
- demux->position_shift = 0;
demux->cancelled = FALSE;
}
/* Manifest update */
GstClockTime last_manifest_update;
-
- /* Position in the stream */
- GstClockTime position;
- GstClockTime position_shift;
- GstClockTime last_position_shift;
};
struct _GstDashDemuxClass