mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
vaapipostproc: update filters at color balance
This is a fix for a regression of previous commit, which updates the filters only when the property is set, because it is also required to update the filter when the color balance interface change its values.
This commit is contained in:
parent
73d4da2e79
commit
6cbb607ec9
1 changed files with 2 additions and 0 deletions
|
@ -1911,6 +1911,8 @@ gst_vaapipostproc_colorbalance_set_value (GstColorBalance * balance,
|
||||||
*var = new_val;
|
*var = new_val;
|
||||||
postproc->flags |= flags;
|
postproc->flags |= flags;
|
||||||
gst_color_balance_value_changed (balance, channel, value);
|
gst_color_balance_value_changed (balance, channel, value);
|
||||||
|
if (check_filter_update (postproc))
|
||||||
|
gst_base_transform_reconfigure_src (GST_BASE_TRANSFORM (postproc));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue