summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeon Hee Chul <heechul.jeon@samsung.com>2013-05-02 18:45:25 +0900
committerJeon Hee Chul <heechul.jeon@samsung.com>2013-05-02 18:45:25 +0900
commit995dc1f53d8e57364bd6aeed975b0bedc52c54e0 (patch)
tree2b3af2d7141aa00283786d2c0f911bbedf41120b
parent00e6048e8863694473f41a20cd7fbf197a137498 (diff)
downloadgst-plugins-good0.10-tizen_2.1.tar.gz
gst-plugins-good0.10-tizen_2.1.tar.bz2
gst-plugins-good0.10-tizen_2.1.zip
[N_SE-36752] Fix error posting from souphttsrc when normal case.submit/tizen_2.1/20130514.052751tizen_2.1
Change-Id: I453e359d4618066f8e121c178fd0473d737cd2aa
-rwxr-xr-xext/soup/gstsouphttpsrc.c11
-rw-r--r--packaging/gst-plugins-good.spec2
2 files changed, 8 insertions, 5 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c
index 907cd13..c13cbbf 100755
--- a/ext/soup/gstsouphttpsrc.c
+++ b/ext/soup/gstsouphttpsrc.c
@@ -1094,10 +1094,13 @@ gst_soup_http_src_finished_cb (SoupMessage * msg, GstSoupHTTPSrc * src)
src->ret = GST_FLOW_CUSTOM_ERROR;
} else if (G_UNLIKELY (src->session_io_status !=
GST_SOUP_HTTP_SRC_SESSION_IO_STATUS_RUNNING)) {
- /* 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));
+
+ if (msg->status_code != SOUP_STATUS_OK){
+ /* 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));
+ }
}
if (src->loop)
g_main_loop_quit (src->loop);
diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec
index ca5c58e..8171ee2 100644
--- a/packaging/gst-plugins-good.spec
+++ b/packaging/gst-plugins-good.spec
@@ -1,7 +1,7 @@
#sbs-git:slp/pkgs/g/gst-plugins-good0.10 gst-plugins-good 0.10.31 6e8625ba6fe94fb9d09e6c3be220b54ffaa01273
Name: gst-plugins-good
Summary: GStreamer plugins from the "good" set
-Version: 0.10.31
+Version: 0.10.32
Release: 26
Group: Applications/Multimedia
License: LGPLv2+