opencv: disable motioncells "date" property for now

Shouldn't be of type long. Not sure it's useful at all, so
just disable it for now to see if someone misses it.
This commit is contained in:
Tim-Philipp Müller 2012-09-09 23:52:41 +01:00
parent 4f35c0466b
commit 1ef529601b

View file

@ -258,10 +258,14 @@ gst_motion_cells_class_init (GstMotioncellsClass * klass)
g_param_spec_boolean ("usealpha", "Use alpha", g_param_spec_boolean ("usealpha", "Use alpha",
"Use or not alpha blending on frames with motion cells", TRUE, "Use or not alpha blending on frames with motion cells", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#if 0
/* FIXME: should not be a long property, make it either gint or gint64
* (is this property actually used or useful for anything?) */
g_object_class_install_property (gobject_class, PROP_DATE, g_object_class_install_property (gobject_class, PROP_DATE,
g_param_spec_long ("date", "Motion Cell Date", g_param_spec_long ("date", "Motion Cell Date",
"Current Date in milliseconds", DATE_MIN, DATE_MAX, DATE_DEF, "Current Date in milliseconds", DATE_MIN, DATE_MAX, DATE_DEF,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#endif
g_object_class_install_property (gobject_class, PROP_DATAFILE, g_object_class_install_property (gobject_class, PROP_DATAFILE,
g_param_spec_string ("datafile", "DataFile", g_param_spec_string ("datafile", "DataFile",
"Location of motioncells data file (empty string means no saving)", "Location of motioncells data file (empty string means no saving)",