Commit 209e3ac56e0b720033f59855b5e8a2e8f8f763af

libgve: Validating property value against pspec

When a value is set for a property, we validate it's value and change it
if it's not valid for the specification of the property. When it's
necessary to change the value, a warning is displayed.
  
316316 gchar *element_name;
317317 gchar *property_name;
318318 GstElement *element;
319 gboolean modified;
319320
320321 if (priv->bin == NULL)
321322 gve_video_effect_create_bin (effect);
322323
323324 pspec = g_hash_table_lookup (priv->configuration, property);
325 modified = g_param_value_validate (pspec, value);
326 if (modified)
327 g_warning ("Value of property %s was modified to ensure validity", property);
324328 element_name = g_param_spec_get_qdata (pspec, g_quark_from_static_string ("Element"));
325329 property_name = g_param_spec_get_qdata (pspec, g_quark_from_static_string ("Property"));
326330 element = gst_bin_get_by_name (GST_BIN(priv->bin), element_name);