From: Thiago Santos Date: Mon, 21 Jan 2013 21:05:59 +0000 (-0300) Subject: mssdemux: stop tasks faster X-Git-Tag: 1.19.3~507^2~13710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23ad760e3af3690072ba72875dc0ad23a09e3c9d;p=platform%2Fupstream%2Fgstreamer.git mssdemux: stop tasks faster Issue a cancel to the downloaders so they stop earlier --- diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c index 42c9b8dd03..e05ef53914 100644 --- a/ext/smoothstreaming/gstmssdemux.c +++ b/ext/smoothstreaming/gstmssdemux.c @@ -194,6 +194,7 @@ gst_mss_demux_stream_free (GstMssDemuxStream * stream) GST_DEBUG_OBJECT (stream->parent, "Leaving streaming task %s:%s", GST_DEBUG_PAD_NAME (stream->pad)); gst_task_stop (stream->download_task); + gst_uri_downloader_cancel (stream->downloader); g_static_rec_mutex_lock (&stream->download_lock); g_static_rec_mutex_unlock (&stream->download_lock); GST_LOG_OBJECT (stream->parent, "Waiting for task to finish");