[870/906] upload: remove superflous g_mutex_init
authorMatthew Waters <ystreet00@gmail.com>
Tue, 28 Jan 2014 14:02:57 +0000 (01:02 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:33 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglupload.c

index 3d043a91555ed9de076af50b583d4d9a7769e180..cf2945afb11b5eda6957d494000a176aed9c0ebc 100644 (file)
@@ -438,8 +438,6 @@ gst_gl_upload_new (GstGLContext * context)
   upload->context = gst_object_ref (context);
   priv = upload->priv;
 
-  g_mutex_init (&upload->lock);
-
 #if GST_GL_HAVE_OPENGL
   if (USING_OPENGL (context)) {
     priv->YUY2_UYVY = frag_YUY2_UYVY_opengl;