templatematch: revert rename of property
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 1 Aug 2015 14:51:22 +0000 (11:51 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 1 Aug 2015 14:52:12 +0000 (11:52 -0300)
The property doesn't need to have its name changed because of C++,
just the instance variables.

ext/opencv/gsttemplatematch.c

index 35f495ce49f444e910d3b4c898c61e3b4588c468..21d8cd4015b2c866a6fb60a559efbfe3a7fbc049 100644 (file)
@@ -140,7 +140,7 @@ gst_template_match_class_init (GstTemplateMatchClass * klass)
           "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 | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_TEMPLATE,
-      g_param_spec_string ("templ", "Template", "Filename of template image",
+      g_param_spec_string ("template", "Template", "Filename of template image",
           NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_DISPLAY,
       g_param_spec_boolean ("display", "Display",