souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 Aug 2009 19:24:14 +0000 (21:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 Aug 2009 19:24:14 +0000 (21:24 +0200)
Fixes bug #590970.

ext/soup/gstsouphttpsrc.c

index 18b39b1..c50fd3e 100644 (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 ("GET", src->location);
+  src->msg = soup_message_new (SOUP_METHOD_GET, src->location);
   if (!src->msg) {
     GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
         (NULL), ("Error parsing URL \"%s\"", src->location));