validate: Dot the pipeline on interuption

This commit is contained in:
Thibault Saunier 2014-07-19 09:48:17 +02:00
parent d1c261f5b1
commit 7d695fbed4

View file

@ -50,6 +50,9 @@ intr_handler (gpointer user_data)
{
g_print ("interrupt received.\n");
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (pipeline),
GST_DEBUG_GRAPH_SHOW_ALL, "gst-validate.interupted");
g_main_loop_quit (mainloop);
/* remove signal handler */