projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ecccb6
)
souphttpsrc: Don't duplicate status_code to GStreamer error mapping
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 11 Feb 2014 12:25:22 +0000
(13:25 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 11 Feb 2014 12:25:22 +0000
(13:25 +0100)
ext/soup/gstsouphttpsrc.c
patch
|
blob
|
history
diff --git
a/ext/soup/gstsouphttpsrc.c
b/ext/soup/gstsouphttpsrc.c
index
bf10ade
..
301a87d
100644
(file)
--- 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)