diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-10-19 16:23:23 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-10-19 17:13:26 +0300 |
commit | 0387a89cad03586a750c1cb2e6668da7650790b0 (patch) | |
tree | c286600d6174e098491ed51aab44876a8751f55f /ext/opencv/gsttemplatematch.c | |
parent | 90e90fd3682a3743941983d509fe23c2db472458 (diff) | |
download | gstreamer-plugins-bad-0387a89cad03586a750c1cb2e6668da7650790b0.tar.gz |
various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Diffstat (limited to 'ext/opencv/gsttemplatematch.c')
-rw-r--r-- | ext/opencv/gsttemplatematch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c index 353bb0664..f8fde9c3d 100644 --- a/ext/opencv/gsttemplatematch.c +++ b/ext/opencv/gsttemplatematch.c @@ -151,14 +151,14 @@ gst_templatematch_class_init (GstTemplateMatchClass * klass) g_object_class_install_property (gobject_class, PROP_METHOD, g_param_spec_int ("method", "Method", "Specifies the way the template must be compared with image regions. 0=SQDIFF, 1=SQDIFF_NORMED, 2=CCOR, 3=CCOR_NORMED, 4=CCOEFF, 5=CCOEFF_NORMED.", - 0, 5, DEFAULT_METHOD, G_PARAM_READWRITE)); + 0, 5, DEFAULT_METHOD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_TEMPLATE, g_param_spec_string ("template", "Template", "Filename of template image", - NULL, G_PARAM_READWRITE)); + NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_DISPLAY, g_param_spec_boolean ("display", "Display", "Sets whether the detected template should be highlighted in the output", - TRUE, G_PARAM_READWRITE)); + TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); } /* initialize the new element |