mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
tests: Remove useless mutex
This commit is contained in:
parent
3120c525bb
commit
aa0d4487d7
1 changed files with 0 additions and 4 deletions
|
@ -31,7 +31,6 @@ GESTimelinePipeline *pipeline = NULL;
|
||||||
gchar *output_uri = NULL;
|
gchar *output_uri = NULL;
|
||||||
guint assetsCount = 0;
|
guint assetsCount = 0;
|
||||||
guint assetsLoaded = 0;
|
guint assetsLoaded = 0;
|
||||||
GStaticMutex assetsLoadedLock = G_STATIC_MUTEX_INIT;
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
asset_loaded_cb (GObject * source_object, GAsyncResult * res,
|
asset_loaded_cb (GObject * source_object, GAsyncResult * res,
|
||||||
|
@ -48,10 +47,7 @@ asset_loaded_cb (GObject * source_object, GAsyncResult * res,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_static_mutex_lock (&assetsLoadedLock);
|
|
||||||
assetsLoaded++;
|
assetsLoaded++;
|
||||||
g_static_mutex_unlock (&assetsLoadedLock);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if we have loaded last asset and trigger concatenating
|
* Check if we have loaded last asset and trigger concatenating
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue