diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2014-03-12 12:21:38 +0100 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2014-03-12 12:21:38 +0100 |
commit | 1bc0a687eee6a26898233a363b3b8b7f61f0ce90 (patch) | |
tree | c0514d5d57623dde061b1e07b39fb3411a3e2df5 | |
parent | e355a17f717fefbb1dc61704e78778b15f796ce8 (diff) |
validate:scenario: Cleanup output of --list-scenarios
-rw-r--r-- | validate/gst/validate/gst-validate-scenario.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index 606d215..9deb80c 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -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; } |