summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/videosignal/gstvideodetect.c9
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 083494b1..2be8fbf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-06-28 Wim Taymans <wim@fluendo.com>
+ * gst/videosignal/gstvideodetect.c: (gst_video_detect_class_init):
+ Register new property as well.
+
+2007-06-28 Wim Taymans <wim@fluendo.com>
+
* gst/videosignal/gstvideodetect.c: (gst_video_detect_420),
(gst_video_detect_set_property), (gst_video_detect_get_property):
* gst/videosignal/gstvideodetect.h:
diff --git a/gst/videosignal/gstvideodetect.c b/gst/videosignal/gstvideodetect.c
index 2e8b0d37..88f626f7 100644
--- a/gst/videosignal/gstvideodetect.c
+++ b/gst/videosignal/gstvideodetect.c
@@ -474,10 +474,15 @@ gst_video_detect_class_init (gpointer klass, gpointer class_data)
g_param_spec_int ("pattern-data-count", "Pattern data count",
"The number of extra data pattern markers", 0, G_MAXINT,
DEFAULT_PATTERN_DATA_COUNT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ g_object_class_install_property (gobject_class, PROP_PATTERN_CENTER,
+ g_param_spec_double ("pattern-center", "Pattern center",
+ "The center of the black/white region (0.0 = highest, 0.5 lowest)",
+ 0.0, 1.0, DEFAULT_PATTERN_CENTER,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class, PROP_PATTERN_SENSITIVITY,
g_param_spec_double ("pattern-sensitivity", "Pattern sensitivity",
- "The sensitivity for detecting the markers (0.0 = highest, 0.5 lowest)",
- 0.0, 0.5, DEFAULT_PATTERN_SENSITIVITY,
+ "The sensitivity for detecting the markers (0.0 = lowest, 1.0 highest)",
+ 0.0, 1.0, DEFAULT_PATTERN_SENSITIVITY,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class, PROP_LEFT_OFFSET,
g_param_spec_int ("left-offset", "Left Offset",