projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a07a575
)
soup: Use "GET" instead of SOUP_METHOD_GET. Fixes build with libsoup-2.7.*
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 27 Jul 2009 16:44:45 +0000
(18:44 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 31 Jul 2009 16:35:12 +0000
(18:35 +0200)
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.
ext/soup/gstsouphttpsrc.c
patch
|
blob
|
history
diff --git
a/ext/soup/gstsouphttpsrc.c
b/ext/soup/gstsouphttpsrc.c
index
c50fd3e
..
18b39b1
100644
(file)
--- 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));