From 921b0f40d844dc4e46cc61f20ceda756a4641674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 27 Mar 2017 18:27:59 +0100 Subject: [PATCH] tools: gst-launch: print structure property notifies nicer One less layer of escaping, but still lots of ugly \. --- tools/gst-launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index c0bef9f21f..e277f2ef85 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -865,6 +865,8 @@ event_loop (GstElement * pipeline, gboolean blocking, gboolean do_progress, val_str = gst_caps_to_string (g_value_get_boxed (val)); else if (G_VALUE_TYPE (val) == GST_TYPE_TAG_LIST) val_str = gst_tag_list_to_string (g_value_get_boxed (val)); + else if (G_VALUE_TYPE (val) == GST_TYPE_STRUCTURE) + val_str = gst_structure_to_string (g_value_get_boxed (val)); else val_str = gst_value_serialize (val); } else {