[MOVED FROM BAD 24/29] shapewipe: Always hold the mask mutex before signalling the GCond

This commit is contained in:
Sebastian Dröge 2010-02-08 08:20:44 +01:00
parent e2ab650079
commit 4d038dc516

View file

@ -276,7 +276,9 @@ gst_shape_wipe_reset (GstShapeWipe * self)
gst_buffer_unref (self->mask);
self->mask = NULL;
g_mutex_lock (self->mask_mutex);
g_cond_signal (self->mask_cond);
g_mutex_unlock (self->mask_mutex);
self->fmt = GST_VIDEO_FORMAT_UNKNOWN;
self->width = self->height = 0;