tests: dash_mpd: fix linker issues with non-optimizing compilers

undefined reference to `download_request_take_buffer'

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2117#note_1344646

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2228>
This commit is contained in:
Tim-Philipp Müller 2022-04-19 09:52:51 +01:00 committed by GStreamer Marge Bot
parent 70579285a8
commit 0dd04764f7

View file

@ -61,6 +61,20 @@ GST_DEBUG_CATEGORY (gst_dash_demux2_debug);
DownloadRequest *
downloadhelper_fetch_uri (DownloadHelper * dh, const gchar * uri,
const gchar * referer, DownloadFlags flags, GError ** err)
{
g_assert_not_reached ();
return NULL;
}
GstBuffer *
download_request_take_buffer (DownloadRequest * request)
{
g_assert_not_reached ();
return NULL;
}
void
download_request_unref (DownloadRequest * request)
{
g_assert_not_reached ();
}