mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string
Fixes bug #590970.
This commit is contained in:
parent
b32ef1d51e
commit
c42f0ad5b6
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ gst_soup_http_src_parse_status (SoupMessage * msg, GstSoupHTTPSrc * src)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_soup_http_src_build_message (GstSoupHTTPSrc * src)
|
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) {
|
if (!src->msg) {
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
|
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
|
||||||
(NULL), ("Error parsing URL \"%s\"", src->location));
|
(NULL), ("Error parsing URL \"%s\"", src->location));
|
||||||
|
|
Loading…
Reference in a new issue