From 0951cc07e2d76924a5a24aa6525b9e059e7cd3d4 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Mon, 14 Jul 2014 13:35:24 +0200 Subject: [PATCH] composition: Add the stack start/stop that has been set in dotfile name Co-Authored by: Thibault Saunier --- gnl/gnlcomposition.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index 0505bbf7fb..02dec1e80c 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -2250,12 +2250,16 @@ _is_ready_to_restart_task (GnlComposition * comp, GstEvent * event) if (comp->priv->awaited_caps_seqnum == seqnum) { + gchar *name = g_strdup_printf ("new-stack__%" GST_TIME_FORMAT "--%" + GST_TIME_FORMAT "", GST_TIME_ARGS (comp->priv->segment_start), + GST_TIME_ARGS (comp->priv->segment_stop)); GST_INFO_OBJECT (comp, "Got %s with proper seqnum" " done with stack reconfiguration %" GST_PTR_FORMAT, GST_EVENT_TYPE_NAME (event), event); GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (comp), - GST_DEBUG_GRAPH_SHOW_ALL, "new-stack"); + GST_DEBUG_GRAPH_SHOW_ALL, name); + g_free (name); return TRUE; -- 2.34.1