mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
validate:scenario: Cleanup output of --list-scenarios
This commit is contained in:
parent
e355a17f71
commit
1bc0a687ee
1 changed files with 5 additions and 1 deletions
|
@ -1219,8 +1219,12 @@ gst_validate_scenario_factory_create (GstValidateRunner *
|
||||||
static gboolean
|
static gboolean
|
||||||
_add_description (GQuark field_id, const GValue * value, KeyFileGroupName * kfg)
|
_add_description (GQuark field_id, const GValue * value, KeyFileGroupName * kfg)
|
||||||
{
|
{
|
||||||
|
gchar *tmp = gst_value_serialize (value);
|
||||||
|
|
||||||
g_key_file_set_string (kfg->kf, kfg->group_name,
|
g_key_file_set_string (kfg->kf, kfg->group_name,
|
||||||
g_quark_to_string (field_id), gst_value_serialize (value));
|
g_quark_to_string (field_id), g_strcompress (tmp));
|
||||||
|
|
||||||
|
g_free (tmp);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue