mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
hlsdemux: Ensure the task is paused in case of cache error
This commit is contained in:
parent
46ac6a2589
commit
8c04ea47d2
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue