After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345496 - No GstPadDirection in files created by GstXml
No GstPadDirection in files created by GstXml
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal enhancement
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2006-06-20 23:01 UTC by Sebastien Cote
Modified: 2006-10-10 14:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement

proposed fix (814 bytes, patch)
2006-06-20 23:03 UTC, Sebastien Cote
committed Details | Review
XML file from a sample pipeline (19.86 KB, text/plain)
2006-06-20 23:04 UTC, Sebastien Cote
Image of the sample pipeline (44.68 KB, image/jpeg)
2006-06-20 23:07 UTC, Sebastien Cote

Description Sebastien Cote 2006-06-20 23:01:31 UTC
I'm parsing a pipeline file created by GstXml to create a graphical image of the pipeline. But the XML file doesn't contain any information about the direction of the pads. This information would be very helpful since it conveys information about the data flow.
Comment 1 Sebastien Cote 2006-06-20 23:03:44 UTC
Created attachment 67750 [details] [review]
proposed fix

With this patch, the direction of the pad is added to the pad structure of the XML file:

Comment 2 Sebastien Cote 2006-06-20 23:04:53 UTC
Created attachment 67751 [details]
XML file from a sample pipeline
Comment 3 Sebastien Cote 2006-06-20 23:07:46 UTC
Created attachment 67752 [details]
Image of the sample pipeline

This image shows the image generated by parsing the XML file. Without the pad direction, there are no arrowheads so the data flow is harder to figure out.
Comment 4 Wim Taymans 2006-10-10 14:47:52 UTC
        Patch by: Sebastien Cote <sebas642 at yahoo dot ca>

        * gst/gstpad.c: (gst_pad_get_caps_unlocked),
        Update some docs.
        Write pad direction in XML output. Fixes #345496.