souphttpsrc: Don't forget to quit mainloop after we cancelled when we got data after the stop position

This commit is contained in:
Sebastian Dröge 2014-03-06 13:38:09 +01:00
parent 0c6f1ce998
commit 9701051485

View 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"); GST_DEBUG_OBJECT (src, "got chunk but we're not expecting one");
src->ret = GST_FLOW_OK; src->ret = GST_FLOW_OK;
gst_soup_http_src_cancel_message (src); gst_soup_http_src_cancel_message (src);
g_main_loop_quit (src->loop);
return; return;
} }