From 8c04ea47d2c6fd7db32ac71e025739ec15ce9ede Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 26 Aug 2011 00:26:29 +0000 Subject: [PATCH] hlsdemux: Ensure the task is paused in case of cache error --- gst/hls/gsthlsdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 14695d5663..2c0ec559ee 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -752,6 +752,7 @@ end_of_playlist: cache_error: { + gst_task_pause (demux->task); if (!demux->cancelled) { GST_ELEMENT_ERROR (demux, RESOURCE, NOT_FOUND, ("Could not cache the first fragments"), (NULL));