Skip to content
Snippets Groups Projects
Commit 9e65718c authored by Duncan Palmer's avatar Duncan Palmer Committed by Sebastian Dröge
Browse files

uridownloader: Always release the object lock in gst_uri_downloader_fetch_uri_with_range()

even if downloader->priv->urisrc is not set. This avoids deadlock under some
some conditions on cancel.

https://bugzilla.gnome.org/show_bug.cgi?id=723127
parent 98863e5f
No related branches found
No related tags found
No related merge requests found
......@@ -457,7 +457,10 @@ quit:
gst_element_get_state (urisrc, NULL, NULL, GST_CLOCK_TIME_NONE);
gst_element_set_bus (urisrc, NULL);
gst_object_unref (urisrc);
} else {
GST_OBJECT_UNLOCK (downloader);
}
g_mutex_unlock (&downloader->priv->download_lock);
return download;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment