From fdb39a9f7b2bd092b5ba41543ca3f9c96547f613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 13 Feb 2014 12:09:13 +0100 Subject: [PATCH] souphttpsrc: Use new automatic_eos API from basesrc We want to notice ourselves that we're EOS. Otherwise we will always cancel requests in the very end and confuse the server... and also make it impossible to use persistent connections. --- ext/soup/gstsouphttpsrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index a62b46abea..3809a111fa 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -377,6 +377,8 @@ gst_soup_http_src_init (GstSoupHTTPSrc * src) proxy); } + gst_base_src_set_automatic_eos (GST_BASE_SRC (src), FALSE); + gst_soup_http_src_reset (src); }