mpdparser: Handle invalid external xml link for Period element
authorSeungha Yang <sh.yang@lge.com>
Sat, 19 Nov 2016 09:37:54 +0000 (18:37 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Nov 2016 07:43:30 +0000 (09:43 +0200)
commite454694f0af6d0b991e549b3543c1293d76b3f6b
tree1b52663925f2c2ec01431f0716b7fdc3964600a6
parent5591f55db55a0c2dbe5fc5e64b7259c916cc6041
mpdparser: Handle invalid external xml link for Period element

Section 5.3.3 in ISO/IEC 23009-1:2014 defines that invalid references
(e.g., invalide URI or cannot be resolved) specified by "@xlink:href" attribute
shall be removed. That means, we should play it without error,
and just ignore the corresponding element.
It's similar to "urn:mpeg:dash:resolve-to-zero:2013".

https://bugzilla.gnome.org/show_bug.cgi?id=774463
ext/dash/gstmpdparser.c
tests/check/elements/dash_mpd.c