From 476e217e822b74437f7c2ff50457ff8b7936404e Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 29 Oct 2007 10:05:55 +0000 Subject: [PATCH] Document new env-var. Add one log-line after dumpng a graph. Original commit message from CVS: * docs/gst/running.xml: * gst/gstdebugutils.c: Document new env-var. Add one log-line after dumpng a graph. --- ChangeLog | 6 ++++++ docs/gst/running.xml | 17 ++++++++++++++--- gst/gstdebugutils.c | 1 + 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bca7e1..fe13c80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-29 Stefan Kost + + * docs/gst/running.xml: + * gst/gstdebugutils.c: + Document new env-var. Add one log-line after dumpng a graph. + 2007-10-26 Tim-Philipp Müller * configure.ac: diff --git a/docs/gst/running.xml b/docs/gst/running.xml index f2b665c..fd282b3 100644 --- a/docs/gst/running.xml +++ b/docs/gst/running.xml @@ -77,7 +77,7 @@ be loaded in addition to, and before, the plug-ins in the system paths. - + <envar>GST_DEBUG</envar> @@ -171,14 +171,25 @@ to Set this environment variable to any value ("1" typically) to switch off colouring in GST_DEBUG output. This has the same effect as specifying the ---gst-debug-no-color command line option to well-behaved GStreamer -applications (ie. those that pass command-line options correctly to GStreamer). + command line option to well-behaved +GStreamer applications (ie. those that pass command-line options correctly to +GStreamer). This is particularly useful to reduce the size of debug output and also allows for the output to be compressed much better than with colours turned on. + + <envar>GST_DEBUG_DUMP_DOT_FILES</envar> + + +Set this environment variable to any value ("1" typically) to turn on all +#GST_DEBUG_BIN_TO_DOT_FILE or #GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS calls. + + + + <envar>GST_REGISTRY_FORK</envar> diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index c6fac6a..617f460 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -459,6 +459,7 @@ _gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details, fprintf (out, "}\n"); fclose (out); } + GST_INFO ("wrote bin graph to : '%s'", file_name); } /* -- 2.7.4