souphttpsrc: Use new automatic_eos API from basesrc
authorSebastian Dröge <sebastian@centricular.com>
Thu, 13 Feb 2014 11:09:13 +0000 (12:09 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 13 Feb 2014 11:09:13 +0000 (12:09 +0100)
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

index a62b46a..3809a11 100644 (file)
@@ -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);
 }