summaryrefslogtreecommitdiffstats
path: root/ext/soup/gstsouphttpsrc.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-08 11:29:04 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-08 11:30:44 +0200
commit1e34187973cbb736a671bde7bf2e9629c2410416 (patch)
treee615a58ec16a81841ad14d5fab70024f434fd1b3 /ext/soup/gstsouphttpsrc.h
parenta4dfd61a7737c365114cdd768e5e55c809105256 (diff)
souphttpsrc: Add support for extra-headers appended to the HTTP request
This allows to set the Referer header among other things by adding a "extra-headers" property that takes a GstStructure with field=string pairs. Fixes bug #581806.
Diffstat (limited to 'ext/soup/gstsouphttpsrc.h')
-rw-r--r--ext/soup/gstsouphttpsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soup/gstsouphttpsrc.h b/ext/soup/gstsouphttpsrc.h
index 378f49c8..ffe6eec6 100644
--- a/ext/soup/gstsouphttpsrc.h
+++ b/ext/soup/gstsouphttpsrc.h
@@ -84,6 +84,8 @@ struct _GstSoupHTTPSrc {
gchar *iradio_url;
gchar *iradio_title;
+ GstStructure *extra_headers;
+
guint timeout;
};