[Decoder] trivial fix on option property init.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 14 Nov 2018 10:54:25 +0000 (19:54 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 14 Nov 2018 11:20:29 +0000 (20:20 +0900)
Critical typo fixed. Option2 --> Option1

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_decoder/tensordec.c

index 7b8fa5b..fdcaf14 100644 (file)
@@ -568,7 +568,7 @@ gst_tensordec_class_init (GstTensorDecClass * klass)
           "Mode option like file path to the image label", "",
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
-  g_object_class_install_property (gobject_class, PROP_MODE_OPTION1,
+  g_object_class_install_property (gobject_class, PROP_MODE_OPTION2,
       g_param_spec_string ("mode-option-2", "Mode option 2",
           "Secondary option for the decoder", "",
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));