From 5514bc2785efbe5922c86f7ffe558a0518c5d403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Feb 2014 13:25:22 +0100 Subject: [PATCH] souphttpsrc: Don't duplicate status_code to GStreamer error mapping --- ext/soup/gstsouphttpsrc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index bf10adee6e..301a87d7cd 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -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)