diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-07-27 18:44:45 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-07-31 18:35:12 +0200 |
commit | 4e6fcd2345d208d029e46286c141a2f6b4ea5d7d (patch) | |
tree | 164c1c1c58db0bfb08e9b9b2f4b8440ff4ff822c /ext/soup | |
parent | a07a57520968c76e8a1e9609376e8e4dbd2e3b99 (diff) |
soup: Use "GET" instead of SOUP_METHOD_GET. Fixes build with libsoup-2.7.*
This is due to a quality API change in libsoup 2.7. SOUP_METHOD_* are now
integers and not strings... they could have changed the names.
Diffstat (limited to 'ext/soup')
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index c50fd3e8..18b39b19 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -1101,7 +1101,7 @@ gst_soup_http_src_parse_status (SoupMessage * msg, GstSoupHTTPSrc * src) static gboolean gst_soup_http_src_build_message (GstSoupHTTPSrc * src) { - src->msg = soup_message_new (SOUP_METHOD_GET, src->location); + src->msg = soup_message_new ("GET", src->location); if (!src->msg) { GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, (NULL), ("Error parsing URL \"%s\"", src->location)); |