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
@ -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…
x
Reference in New Issue
Block a user