Skip to content

Commit

Permalink
Fix the INFO description
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidWesierski4 committed Jan 9, 2025
1 parent e545ce8 commit c0bce7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecosystem/gstreamer_plugin/gst_mtl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit c0bce7c

Please sign in to comment.