[870/906] upload: remove superflous g_mutex_init

This commit is contained in:
Matthew Waters 2014-01-29 01:02:57 +11:00 committed by Tim-Philipp Müller
parent 970fbacf96
commit 1f4d041d5b

View file

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