mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter
This commit is contained in:
parent
948d5168ce
commit
da05a85455
2 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,7 @@ gst_gamma_set_property (GObject * object, guint prop_id, const GValue * value,
|
||||||
gst_gamma_calculate_tables (gamma);
|
gst_gamma_calculate_tables (gamma);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -539,6 +539,7 @@ gst_video_balance_set_property (GObject * object, guint prop_id,
|
||||||
src->saturation = g_value_get_double (value);
|
src->saturation = g_value_get_double (value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue