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.
This commit is contained in:
Wim Taymans 2007-06-28 10:40:16 +00:00
parent 0c5153fbc9
commit eff1e94a26
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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),

View file

@ -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",