/tests/check/orc
/tests/examples/shapewipe/shapewipe-example
/tests/examples/jack/jack_client
+/tests/examples/opencv/gstmotioncells_dynamic_test
gst_motion_cells_class_init (GstMotioncellsClass * klass)
{
GObjectClass *gobject_class;
- GstElementClass *gstelement_class;
gobject_class = (GObjectClass *) klass;
- gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_motion_cells_finalize);
GParamSpec **property_specs;
guint num_properties, i;
gboolean readable;
- gboolean first_flag;
g_return_if_fail (element != NULL);
GParamSpec *param = property_specs[i];
readable = FALSE;
- first_flag = TRUE;
g_value_init (&value, param->value_type);
while (TRUE) {
found_property = FALSE;
i = 0;
+
ret = scanf ("%19s %99s", property, prop_value);
+ if (ret < 1)
+ g_printerr ("Error parsing command.\n");
+
if ((g_strcmp0 (property, "q") == 0) || (g_strcmp0 (prop_value, "q") == 0))
break;
printf ("property: %s -> value: %s \n", property, prop_value);