mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
mpdparser: Use RepresentationIndex instead of Initialization to get the URL of the RepresentationIndex
https://bugzilla.gnome.org/show_bug.cgi?id=760936
This commit is contained in:
parent
c9d9042aff
commit
8e788f2845
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue