souphttpsrc: Don't forget to quit mainloop after we cancelled when we got data after...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 6 Mar 2014 12:38:09 +0000 (13:38 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 6 Mar 2014 12:38:09 +0000 (13:38 +0100)
ext/soup/gstsouphttpsrc.c

index 8ffbb48..8479a15 100644 (file)
@@ -1163,6 +1163,7 @@ gst_soup_http_src_got_chunk_cb (SoupMessage * msg, SoupBuffer * chunk,
     GST_DEBUG_OBJECT (src, "got chunk but we're not expecting one");
     src->ret = GST_FLOW_OK;
     gst_soup_http_src_cancel_message (src);
+    g_main_loop_quit (src->loop);
     return;
   }