[gst-cvs] gst-plugins-good: souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Aug 6 12:24:59 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: c42f0ad5b6aefd42a8336bd73d6e856fce306908
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=c42f0ad5b6aefd42a8336bd73d6e856fce306908

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu Aug  6 21:24:14 2009 +0200

souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string

Fixes bug #590970.

---

 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 18b39b1..c50fd3e 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 ("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));





More information about the Gstreamer-commits mailing list