mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
uridownloader: Reset cancelled state after fetching an URI
Otherwise it will never ever be able to fetch anything after an error until the user resets it manually.
This commit is contained in:
parent
591598da48
commit
3726c00b95
1 changed files with 3 additions and 0 deletions
|
@ -478,9 +478,12 @@ quit:
|
|||
"Failed to download '%s'", uri);
|
||||
} else {
|
||||
g_propagate_error (err, downloader->priv->err);
|
||||
downloader->priv->err = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
downloader->priv->cancelled = FALSE;
|
||||
|
||||
g_mutex_unlock (&downloader->priv->download_lock);
|
||||
return download;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue