hlsdemux: Ensure the task is paused in case of cache error

This commit is contained in:
Youness Alaoui 2011-08-26 00:26:29 +00:00 committed by Sebastian Dröge
parent 46ac6a2589
commit 8c04ea47d2

View file

@ -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));