[gstreamer-bugs] [Bug 456573] allow dumping pipelines as dot graphs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 18 06:37:22 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=456573

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #15 from Stefan Kost (gstreamer, gtkdoc dev)  2007-10-18 13:37 UTC -------
Right now one uses macros like:

GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(GST_BIN(pipeline),GST_DEBUG_GRAPH_SHOW_ALL,"/tmp/gst-launch.%"
GST_TIME_FORMAT ".dot");

in the code and an environment variable like GST_DEBUG_DUMP_DOT_FILES=1 at
runtime to activate it. What about making the macros simpler:

GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline),GST_DEBUG_GRAPH_SHOW_ALL);

and passing the base-filename via environment var:

GST_DEBUG_DUMP_DOT_FILES="/tmp/gst-launch."

If the envvar is empty - no dumps will be made. If the envvar contains
something it will create names by appending the timestamp + ".dot".


One thing I wold like to have (but I am too lazy to write) is a UI app. I get
stwo arguments: a gstremaer log-file and the same basename as above.
The ui shows the picture in the upper half and the log in the lower half.
When clicking a log-line it would load the picture with the closest (?)
timestamp in the name.
The tool could also run dot to make the pictures for the dot files initialy.
Any volunters?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=456573.




More information about the Gstreamer-bugs mailing list