[Bug 643269] dot file flow direction

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 4 20:19:38 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=643269
  GStreamer | gstreamer (core) | unspecified

--- Comment #10 from shaun <hoopes01 at student.uwa.edu.au> 2011-08-05 03:19:35 UTC ---
Created an attachment (id=193291)
 View: https://bugzilla.gnome.org/attachment.cgi?id=193291
 Review: https://bugzilla.gnome.org/review?bug=643269&attachment=193291

Patch changes the order that the sink and src pads are written to dot file.

I have implemented Stefan's suggestion, and created a new static function
debug_dump_element_pads() in gstdebugutils.c. This function is called within
the function debug_dump_element(), after the iterator from
gst_element_iterate_sink_pads() is obtained, and then again after the iterator
after gst_element_iterate_src_pads().

I have tested the changes on some test pipeline, and it is giving the results I
expect, i.e. a dot file that has the sink pads written before the src pads,
meaning upstream elements are above downstream elements in the graph.

As Edward suggested, I'm not sure this helps when using ghostpads.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list