From c0bce7ca5edb2121ac746d98b35a0e0238de7729 Mon Sep 17 00:00:00 2001 From: dawidwesierski4 Date: Thu, 9 Jan 2025 16:29:12 +0100 Subject: [PATCH] Fix the INFO description --- ecosystem/gstreamer_plugin/gst_mtl_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecosystem/gstreamer_plugin/gst_mtl_common.c b/ecosystem/gstreamer_plugin/gst_mtl_common.c index b00d767d..1dec4ceb 100644 --- a/ecosystem/gstreamer_plugin/gst_mtl_common.c +++ b/ecosystem/gstreamer_plugin/gst_mtl_common.c @@ -209,7 +209,8 @@ gboolean gst_mtl_common_parse_sampling(gint sampling, enum st30_sampling* st_sam void gst_mtl_common_init_general_argumetns(GObjectClass* gobject_class) { g_object_class_install_property( gobject_class, PROP_GENERAL_LOG_LEVEL, - g_param_spec_uint("log-level", "Log Level", "Set the log level.", 0, G_MAXUINT, 0, + g_param_spec_uint("log-level", "Log Level", "Set the log level (INFO 1 to CRIT 5).", + 1, MTL_LOG_LEVEL_MAX, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property( @@ -401,7 +402,6 @@ mtl_handle gst_mtl_common_mtl_init(struct mtl_init_params* p, StDevArgs* devArgs return NULL; } - memset(&mtl_init_params, 0, sizeof(mtl_init_params)); mtl_init_params.num_ports = 0; if (gst_mtl_common_parse_dev_arguments(&mtl_init_params, devArgs) == FALSE) {