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 796787 - flowcombiner should combine OK when no stored pads
flowcombiner should combine OK when no stored pads
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: Xabier Rodríguez Calvar
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-11 11:21 UTC by Xabier Rodríguez Calvar
Modified: 2018-07-12 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test (396 bytes, text/x-csrc)
2018-07-11 11:21 UTC, Xabier Rodríguez Calvar
  Details
patch (1.11 KB, patch)
2018-07-11 11:21 UTC, Xabier Rodríguez Calvar
none Details | Review

Description Xabier Rodríguez Calvar 2018-07-11 11:21:00 UTC
Created attachment 372993 [details]
test

flow combiner incorrectly returns not-linked if there are no stored pads when you call gst_flow_combiner_get_flow.
Comment 1 Xabier Rodríguez Calvar 2018-07-11 11:21:32 UTC
Created attachment 372994 [details] [review]
patch
Comment 2 Sebastian Dröge (slomo) 2018-07-11 12:48:33 UTC
With no stored pads, not-linked seems expected to me. That's also how e.g. tee works and has to work.

What's the use-case here? :)
Comment 3 Xabier Rodríguez Calvar 2018-07-12 06:20:39 UTC
No use case, it just seemed wrong to me. Ok, let's close it then.
Comment 4 Sebastian Dröge (slomo) 2018-07-12 08:43:33 UTC
Well, if you have no pad then nothing is linked :)