mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
videobalance: avoid deadlock
_update_properties takes the object lock and should not be called when the object lock is already taken.
This commit is contained in:
parent
aeba106878
commit
6693a22875
1 changed files with 1 additions and 1 deletions
|
@ -601,10 +601,10 @@ gst_video_balance_colorbalance_set_value (GstColorBalance * balance,
|
||||||
changed = new_val != vb->contrast;
|
changed = new_val != vb->contrast;
|
||||||
vb->contrast = new_val;
|
vb->contrast = new_val;
|
||||||
}
|
}
|
||||||
|
GST_OBJECT_UNLOCK (vb);
|
||||||
|
|
||||||
if (changed)
|
if (changed)
|
||||||
gst_video_balance_update_properties (vb);
|
gst_video_balance_update_properties (vb);
|
||||||
GST_OBJECT_UNLOCK (vb);
|
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
gst_color_balance_value_changed (balance, channel,
|
gst_color_balance_value_changed (balance, channel,
|
||||||
|
|
Loading…
Reference in a new issue