mpdparser: Return correct mediaURL value
authorRafał Dzięgiel <rafostar.github@gmail.com>
Thu, 14 Oct 2021 08:18:40 +0000 (10:18 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 14 Nov 2022 23:45:53 +0000 (23:45 +0000)
commit0d79dbedf3254b02c82f0544827db119b2abe1b4
tree034df0d40674ff0ec1d2a8eaee78c58b632ecdaa
parent837881ad29a212216ccc5670b6f3e0c50e150636
mpdparser: Return correct mediaURL value

This fixes a problem where get_mediaURL was returning NULL when segmentURL
was unavailable instead of baseURL as a fallback.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1147>
subprojects/gst-plugins-bad/ext/dash/gstmpdparser.c
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpdparser.c