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 795364 - parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION
parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal blocker
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-18 20:00 UTC by Thibault Saunier
Modified: 2018-11-03 12:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION (1.32 KB, patch)
2018-04-18 20:00 UTC, Thibault Saunier
committed Details | Review

Description Thibault Saunier 2018-04-18 20:00:52 UTC
See commit message.
Comment 1 Thibault Saunier 2018-04-18 20:00:57 UTC
Created attachment 371117 [details] [review]
parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION

Otherwise decodebin won't get notified about STREAM_COLLECTION comming
from the sources and thus will never get informored about it. Without
being informed about the stream collection decodebin won't be able to
select any streams. It ends up not creating any output for the streams
defined from outside parserbin.
Comment 2 Thibault Saunier 2018-04-18 20:40:32 UTC
To reproduce the issue you can get the element propose on https://bugzilla.gnome.org/show_bug.cgi?id=795366 and run

    gst-launch-1.0 playbin3 uri=test://video+audio

The testsrc element will:

 * Create streams for each of its pads and make sure those are used in the stream-start event
 * Push a STREAM_COLLECTION on each of its sinkpad before pushing the caps

Without the patch from here, decodebin will never link the pad from testsrc (down the line).
Comment 3 Thibault Saunier 2018-04-19 11:41:51 UTC
commit 89d0e9cc92a86aa0227ee87406737b6d31670aea (HEAD -> master, origin/master, origin/HEAD)
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Apr 18 16:06:07 2018 -0300

    parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION

    Otherwise decodebin won't get notified about STREAM_COLLECTION comming
    from the sources and thus will never get informored about it. Without
    being informed about the stream collection decodebin won't be able to
    select any streams. It ends up not creating any output for the streams
    defined from outside parserbin.

    https://bugzilla.gnome.org/show_bug.cgi?id=795364
Comment 4 Edward Hervey 2018-05-01 08:26:44 UTC
This needs more thinking.
Comment 5 Jan Schmidt 2018-10-27 15:47:54 UTC
Did you do more thinking yet?
Comment 6 GStreamer system administrator 2018-11-03 12:05:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/434.