[Demux] change default property value
authorJaeyun <jy1210.jung@samsung.com>
Thu, 27 Sep 2018 12:04:53 +0000 (21:04 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Fri, 28 Sep 2018 04:40:35 +0000 (13:40 +0900)
change default property value (set default value true)

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/tensor_demux/gsttensordemux.c

index a950e4e..18e9682 100644 (file)
@@ -130,11 +130,12 @@ gst_tensor_demux_class_init (GstTensorDemuxClass * klass)
 
   g_object_class_install_property (gobject_class, PROP_SILENT,
       g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
-          FALSE, G_PARAM_READWRITE));
+          TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   g_object_class_install_property (gobject_class, PROP_TENSORPICK,
       g_param_spec_string ("tensorpick", "TensorPick",
-          "Choose nth tensor among tensors ?", "", G_PARAM_READWRITE));
+          "Choose nth tensor among tensors ?", "",
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   gstelement_class->change_state =
       GST_DEBUG_FUNCPTR (gst_tensor_demux_change_state);
@@ -169,7 +170,7 @@ gst_tensor_demux_init (GstTensorDemux * tensor_demux)
       GST_DEBUG_FUNCPTR (gst_tensor_demux_event));
 
   tensor_demux->num_srcpads = 0;
-  tensor_demux->silent = FALSE;
+  tensor_demux->silent = TRUE;
   tensor_demux->tensorpick = NULL;
   tensor_demux->have_group_id = FALSE;
   tensor_demux->group_id = G_MAXUINT;