videolevels: Don't lock base transform to avoid lockup

Maybe lock is already established in BaseTransform now?
This commit is contained in:
Joshua M. Doe 2012-06-25 22:23:42 -04:00
parent c705237e2e
commit bd993e5e06

View File

@ -546,9 +546,6 @@ gst_videolevels_transform (GstBaseTransform * base, GstBuffer * inbuf,
GST_DEBUG_OBJECT (videolevels, "Performing non-inplace transform");
/* We need to lock our videolevels params to prevent segfaults */
GST_BASE_TRANSFORM_LOCK (videolevels);
input = GST_BUFFER_DATA (inbuf);
output = GST_BUFFER_DATA (outbuf);
@ -571,8 +568,6 @@ gst_videolevels_transform (GstBaseTransform * base, GstBuffer * inbuf,
ret = gst_videolevels_do_levels (videolevels, input, output);
GST_BASE_TRANSFORM_UNLOCK (videolevels);
if (ret)
return GST_FLOW_OK;
else