From 684eb1926755650b22e6ee1f148f559c0e2039d8 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 16 Oct 2013 17:35:36 -0300 Subject: [PATCH] validate-transcoding: Dot pipeline on error --- validate/tools/gst-validate-transcoding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validate/tools/gst-validate-transcoding.c b/validate/tools/gst-validate-transcoding.c index 45f2eef502..610759197f 100644 --- a/validate/tools/gst-validate-transcoding.c +++ b/validate/tools/gst-validate-transcoding.c @@ -480,6 +480,8 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data) gst_message_parse_error (message, &err, &debug); g_print ("Error: %s %s\n", GST_OBJECT_NAME (GST_MESSAGE_SRC (message)), err->message); + GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (pipeline), + GST_DEBUG_GRAPH_SHOW_ALL, "gst-validate-transcode.error"); g_error_free (err); g_free (debug); g_main_loop_quit (loop);