hlsdemux: Ensure the task is paused in case of cache error
This commit is contained in:
parent
46ac6a2589
commit
8c04ea47d2
@ -752,6 +752,7 @@ end_of_playlist:
|
|||||||
|
|
||||||
cache_error:
|
cache_error:
|
||||||
{
|
{
|
||||||
|
gst_task_pause (demux->task);
|
||||||
if (!demux->cancelled) {
|
if (!demux->cancelled) {
|
||||||
GST_ELEMENT_ERROR (demux, RESOURCE, NOT_FOUND,
|
GST_ELEMENT_ERROR (demux, RESOURCE, NOT_FOUND,
|
||||||
("Could not cache the first fragments"), (NULL));
|
("Could not cache the first fragments"), (NULL));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user