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:
Víctor Manuel Jáquez Leal 2016-07-22 16:55:59 +02:00
parent 73d4da2e79
commit 6cbb607ec9

View file

@ -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;
} }