mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
souphttpsrc: Don't duplicate status_code to GStreamer error mapping
This commit is contained in:
parent
4ecccb6ff6
commit
5514bc2785
1 changed files with 1 additions and 4 deletions
|
@ -955,10 +955,7 @@ gst_soup_http_src_finished_cb (SoupMessage * msg, GstSoupHTTPSrc * src)
|
|||
GST_DEBUG_OBJECT (src, "Ignoring error %d:%s during HEAD request",
|
||||
msg->status_code, msg->reason_phrase);
|
||||
} else {
|
||||
/* FIXME: reason_phrase is not translated, add proper error message */
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND,
|
||||
("%s", msg->reason_phrase),
|
||||
("libsoup status code %d", msg->status_code));
|
||||
gst_soup_http_src_parse_status (msg, src);
|
||||
}
|
||||
}
|
||||
if (src->loop)
|
||||
|
|
Loading…
Reference in a new issue