summaryrefslogtreecommitdiff
path: root/ext/dash/gstmpdparser.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-08-21 12:06:07 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-10-02 11:01:23 +0300
commitbdf5f252c17e71b729c0f84d2f9e970fda7bfdeb (patch)
tree6a591d04fb097e636d510c1809a4ac9b4ed63835 /ext/dash/gstmpdparser.h
parent693d3a24032cbf3e1e19dd05497bdc06dd71be6f (diff)
downloadgstreamer-plugins-bad-bdf5f252c17e71b729c0f84d2f9e970fda7bfdeb.tar.gz
mpdparser: Store an URI downloader in the parser for downloading additional MPD resources if needed
https://bugzilla.gnome.org/show_bug.cgi?id=752230
Diffstat (limited to 'ext/dash/gstmpdparser.h')
-rw-r--r--ext/dash/gstmpdparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dash/gstmpdparser.h b/ext/dash/gstmpdparser.h
index c2fde5500..85ddc8476 100644
--- a/ext/dash/gstmpdparser.h
+++ b/ext/dash/gstmpdparser.h
@@ -28,6 +28,7 @@
#define __GST_MPDPARSER_H__
#include <gst/gst.h>
+#include <gst/uridownloader/gsturidownloader.h>
G_BEGIN_DECLS
@@ -514,6 +515,8 @@ struct _GstMpdClient
/* profiles */
gboolean profile_isoff_ondemand;
+
+ GstUriDownloader * downloader;
};
/* Basic initialization/deinitialization functions */
@@ -522,6 +525,8 @@ void gst_active_streams_free (GstMpdClient * client);
void gst_mpd_client_free (GstMpdClient * client);
void gst_media_fragment_info_clear (GstMediaFragmentInfo * fragment);
+void gst_mpd_client_set_uri_downloader (GstMpdClient * client, GstUriDownloader * download);
+
/* MPD file parsing */
gboolean gst_mpd_parse (GstMpdClient *client, const gchar *data, gint size);