From 8e788f284508612982e8e38336eed676c2eec35a Mon Sep 17 00:00:00 2001 From: John Chang Date: Thu, 21 Jan 2016 22:00:44 +0800 Subject: [PATCH] mpdparser: Use RepresentationIndex instead of Initialization to get the URL of the RepresentationIndex https://bugzilla.gnome.org/show_bug.cgi?id=760936 --- ext/dash/gstmpdparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index ffb2d240e4..8ecfbb6638 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -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) {