From: Tim-Philipp Müller Date: Mon, 27 Mar 2017 17:30:35 +0000 (+0100) Subject: debugutils: add pad EOS flag in pipeline dot file dumps X-Git-Tag: 1.12.0~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8a1bf08b1f94fcb25029bef8b6a6a93693245b7;p=platform%2Fupstream%2Fgstreamer.git debugutils: add pad EOS flag in pipeline dot file dumps But only if set. Helps debug issues with EOS propagation. --- diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index 9555a44..64e0bf5 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -253,7 +253,7 @@ debug_dump_pad (GstPad * pad, const gchar * color_name, param_name = debug_dump_get_object_params (G_OBJECT (pad), details, ignore_propnames); if (details & GST_DEBUG_GRAPH_SHOW_STATES) { - gchar pad_flags[4]; + gchar pad_flags[5]; const gchar *activation_mode = "-><"; const gchar *task_mode = ""; GstTask *task; @@ -282,7 +282,8 @@ debug_dump_pad (GstPad * pad, const gchar * color_name, GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_FLUSHING) ? 'F' : 'f'; pad_flags[2] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_BLOCKING) ? 'B' : 'b'; - pad_flags[3] = '\0'; + pad_flags[3] = GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_EOS) ? 'E' : '\0'; + pad_flags[4] = '\0'; g_string_append_printf (str, "%s %s_%s [color=black, fillcolor=\"%s\", label=\"%s%s\\n[%c][%s]%s\", height=\"0.2\", style=\"%s\"];\n",