GNOME Bugzilla – Bug 760936
dash, mpdparser: Fix the bug when getting the URL of index segment by SegmentBase
Last modified: 2016-01-22 15:47:42 UTC
Created attachment 319500 [details] [review]
dash, mpdparser: Fix the bug when getting the URL of index segment by SegmentBase.
Current flow we get index segment from "Initialization" but it is wrong since the URL is of the initialization Segment.
In fact, we should get it by "RepresentationIndex".
The fix is as attached; please refer to ISO/IEC 23009-1: 188.8.131.52 Table 11.
Author: John Chang <email@example.com>
Date: Thu Jan 21 22:00:44 2016 +0800
mpdparser: Use RepresentationIndex instead of Initialization to get the URL of the RepresentationIndex