mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
[MOVED FROM BAD 24/29] shapewipe: Always hold the mask mutex before signalling the GCond
This commit is contained in:
parent
e2ab650079
commit
4d038dc516
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue