[gstreamer-bugs] [Bug 456573] allow dumping pipelines as dot graphs
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Oct 29 03:53:39 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 #18 from Tim-Philipp Müller 2007-10-29 10:53 UTC -------
> 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".
I think something like that would be a good idea. Either what you suggested,
or maybe something like:
- environment variable contains absolute path to directory
where to dump all the dot files
- caller passes in some kind of descriptive filename thing/suffix
like 'totem-error' or 'state-change-ready-to-paused' and
the function then writes out the pipeline state to a file called:
$PATH_FOR_DOT_FILES/TIMESTAMP-description-foo.dot
That leaves things nicely sorted by timestamp in a central user-defined
location, and applications like totem don't need to worry about what directory
to drop their stuff in, and you can also get rid of the _with_timestamp()
variant.
--
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