From: Thibault Saunier Date: Sat, 29 Dec 2012 17:09:26 +0000 (-0300) Subject: tests: Remove useless mutex X-Git-Tag: 1.19.3~493^2~2069 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa0d4487d77e32b2bee10ab6971b3f9fbcc90cb5;p=platform%2Fupstream%2Fgstreamer.git tests: Remove useless mutex --- diff --git a/tests/examples/concatenate.c b/tests/examples/concatenate.c index 883baa5..c047041 100644 --- a/tests/examples/concatenate.c +++ b/tests/examples/concatenate.c @@ -31,7 +31,6 @@ GESTimelinePipeline *pipeline = NULL; gchar *output_uri = NULL; guint assetsCount = 0; guint assetsLoaded = 0; -GStaticMutex assetsLoadedLock = G_STATIC_MUTEX_INIT; static void asset_loaded_cb (GObject * source_object, GAsyncResult * res, @@ -48,10 +47,7 @@ asset_loaded_cb (GObject * source_object, GAsyncResult * res, return; } - g_static_mutex_lock (&assetsLoadedLock); assetsLoaded++; - g_static_mutex_unlock (&assetsLoadedLock); - /* * Check if we have loaded last asset and trigger concatenating */