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 664693 - [0.11] Queue doesn't set caps on srcpad while not linked
[0.11] Queue doesn't set caps on srcpad while not linked
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.11.x
Other Mac OS
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-24 06:35 UTC by Matej Knopp
Modified: 2012-09-24 18:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unit test (2.74 KB, patch)
2011-11-24 17:42 UTC, Matej Knopp
none Details | Review

Description Matej Knopp 2011-11-24 06:35:24 UTC
I want to resume building pipeline after queue element on notify::caps on queue srcpad, however this doesn't happen because queue doesn't start task until the source pad gets linked.

Queue should probably push the event to srcpad if the task is not yet started (or propagate the event somehow else)
Comment 1 Matej Knopp 2011-11-24 17:42:44 UTC
Created attachment 202079 [details] [review]
Unit test

The patch may require applying 
https://bugzilla.gnome.org/show_bug.cgi?id=664745
first as they both modify same file
Comment 2 Wim Taymans 2012-02-27 14:18:52 UTC
commit ef5292c2ab024b003a5afa2cc74c3fb42e6a21d7
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Feb 21 12:52:44 2012 +0100

    queue: remove weird link behaviour
    
    Remove the link functions and always start the pad task on the srcpad. If
    applications need to autoplug they can put a blocking probe on the srcpad like
    they would with any other element.


commit 1d7626f293bdbcaa0ac51f55c7732ce686edb143
Author: Matej Knopp <matej.knopp@gmail.com>
Date:   Thu Nov 24 18:40:40 2011 +0100

    Unit test for queue src caps notification