validate:scenario: Cleanup output of --list-scenarios

This commit is contained in:
Thibault Saunier 2014-03-12 12:21:38 +01:00
parent e355a17f71
commit 1bc0a687ee

View file

@ -1219,8 +1219,12 @@ gst_validate_scenario_factory_create (GstValidateRunner *
static gboolean
_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_quark_to_string (field_id), gst_value_serialize (value));
g_quark_to_string (field_id), g_strcompress (tmp));
g_free (tmp);
return TRUE;
}