summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2011-08-26 00:26:29 +0000
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-26 09:51:46 +0200
commit8c04ea47d2c6fd7db32ac71e025739ec15ce9ede (patch)
tree339fc0826e39f41f829072afbd6ec383b7375956
parent46ac6a2589f4b40dadd9aa30b9a8dc5da47d484d (diff)
hlsdemux: Ensure the task is paused in case of cache error
-rw-r--r--gst/hls/gsthlsdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c
index 14695d566..2c0ec559e 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));