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 453732 - [PATCH] multiqueue returns wrong internally linked pads
[PATCH] multiqueue returns wrong internally linked pads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.13
Other Linux
: Normal normal
: 0.10.14
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-04 16:05 UTC by Mark Nauwelaerts
Modified: 2007-07-05 09:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement get_internal_links (1.98 KB, patch)
2007-07-04 16:11 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2007-07-04 16:05:44 UTC
As multiqueue does not override the default internal_links, it reports a pad to be linked to all pads of opposite direction, which does not correspond with  reality of data-flow.  In particular, this disrupts pipeline(graph) walking procedures that try to track data-flow by means of pipeline layout.
Comment 1 Mark Nauwelaerts 2007-07-04 16:11:59 UTC
Created attachment 91192 [details] [review]
Implement get_internal_links

* Implement non-default GstPadIntLinkFunction for multiqueue pads
Comment 2 Wim Taymans 2007-07-05 09:06:44 UTC
        Patch by: Mark Nauwelaerts <manauw at skynet be>

        * plugins/elements/gstmultiqueue.c:
        (gst_multi_queue_get_internal_links), (apply_buffer),
        (single_queue_overrun_cb), (gst_single_queue_new):
        Implement non-default GstPadIntLinkFunction for multiqueue pads so that
        the pipeline layout can be tracked correctly. Fixes #453732.