opencv: disable motioncells "date" property for now
authorTim-Philipp Müller <tim@centricular.net>
Sun, 9 Sep 2012 22:52:41 +0000 (23:52 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 9 Sep 2012 22:52:41 +0000 (23:52 +0100)
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

index ad5758c..04d5de3 100644 (file)
@@ -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)",