Commit 8e788f28 authored by John Chang's avatar John Chang Committed by Sebastian Dröge
Browse files

mpdparser: Use RepresentationIndex instead of Initialization to get the URL of...

mpdparser: Use RepresentationIndex instead of Initialization to get the URL of the RepresentationIndex

https://bugzilla.gnome.org/show_bug.cgi?id=760936
parent c9d9042a
......@@ -5284,7 +5284,7 @@ gst_mpd_client_get_next_header_index (GstMpdClient * client, gchar ** uri,
if (stream->cur_segment_base && stream->cur_segment_base->indexRange) {
*uri =
g_strdup (gst_mpdparser_get_initializationURL (stream,
stream->cur_segment_base->Initialization));
stream->cur_segment_base->RepresentationIndex));
*range_start = stream->cur_segment_base->indexRange->first_byte_pos;
*range_end = stream->cur_segment_base->indexRange->last_byte_pos;
} else if (stream->cur_seg_template && stream->cur_seg_template->index) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment