From b49461df48f68166abb8327c12402d568339a832 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 13 Apr 2011 22:17:05 +0200 Subject: hlsdemux: dispose the fetcher from the same thread it's created --- gst/hls/gsthlsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 2ff003e80..61c11c5d3 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -305,7 +305,7 @@ gst_hls_demux_change_state (GstElement * element, GstStateChange transition) switch (transition) { case GST_STATE_CHANGE_PAUSED_TO_READY: demux->cancelled = TRUE; - gst_hls_demux_stop_fetcher (demux, TRUE); + g_cond_signal (demux->fetcher_cond); break; default: break; -- cgit v1.2.3