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.
This commit is contained in:
Edward Hervey 2009-07-27 18:44:45 +02:00
parent a07a575209
commit 4e6fcd2345

View file

@ -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));