From 1ef529601b0a9dfd9d278e37dbe141f21b9b8525 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 9 Sep 2012 23:52:41 +0100 Subject: [PATCH] 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. --- ext/opencv/gstmotioncells.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/opencv/gstmotioncells.c b/ext/opencv/gstmotioncells.c index ad5758c..04d5de3 100644 --- a/ext/opencv/gstmotioncells.c +++ b/ext/opencv/gstmotioncells.c @@ -258,10 +258,14 @@ gst_motion_cells_class_init (GstMotioncellsClass * klass) g_param_spec_boolean ("usealpha", "Use alpha", "Use or not alpha blending on frames with motion cells", TRUE, 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_param_spec_long ("date", "Motion Cell Date", "Current Date in milliseconds", DATE_MIN, DATE_MAX, DATE_DEF, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); +#endif g_object_class_install_property (gobject_class, PROP_DATAFILE, g_param_spec_string ("datafile", "DataFile", "Location of motioncells data file (empty string means no saving)", -- 2.7.4