summaryrefslogtreecommitdiffstats
path: root/gst/videosignal/gstvideodetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/videosignal/gstvideodetect.c')
-rw-r--r--gst/videosignal/gstvideodetect.c9
1 files changed, 7 insertions, 2 deletions
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",