Commit 209e3ac56e0b720033f59855b5e8a2e8f8f763af
- Diff rendering mode:
- inline
- side by side
src/gve-video-effects.c
(4 / 0)
|   | |||
| 316 | 316 | gchar *element_name; | |
| 317 | 317 | gchar *property_name; | |
| 318 | 318 | GstElement *element; | |
| 319 | gboolean modified; | ||
| 319 | 320 | ||
| 320 | 321 | if (priv->bin == NULL) | |
| 321 | 322 | gve_video_effect_create_bin (effect); | |
| 322 | 323 | ||
| 323 | 324 | 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); | ||
| 324 | 328 | element_name = g_param_spec_get_qdata (pspec, g_quark_from_static_string ("Element")); | |
| 325 | 329 | property_name = g_param_spec_get_qdata (pspec, g_quark_from_static_string ("Property")); | |
| 326 | 330 | element = gst_bin_get_by_name (GST_BIN(priv->bin), element_name); |

