diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-06-28 10:40:16 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-06-28 10:40:16 +0000 |
commit | eff1e94a2682e2fe72022656f5ba2ac708c073cd (patch) | |
tree | 66f5bb4ff341c7a2426fede11ca98ce97c6fe34f /gst | |
parent | 0c5153fbc977d988e675790b352bc504af94d57f (diff) | |
download | gst-plugins-bad-eff1e94a2682e2fe72022656f5ba2ac708c073cd.tar.gz gst-plugins-bad-eff1e94a2682e2fe72022656f5ba2ac708c073cd.tar.bz2 gst-plugins-bad-eff1e94a2682e2fe72022656f5ba2ac708c073cd.zip |
gst/videosignal/gstvideodetect.c: Register new property as well.
Original commit message from CVS:
* gst/videosignal/gstvideodetect.c: (gst_video_detect_class_init):
Register new property as well.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videosignal/gstvideodetect.c | 9 |
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", |