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 462740 - [streamselector] patch to improve default stream selection
[streamselector] patch to improve default stream selection
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-02 10:31 UTC by Wim Taymans
Modified: 2007-11-16 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to improve stream selection (6.62 KB, patch)
2007-08-02 10:35 UTC, Wim Taymans
none Details | Review
updated patch (21.73 KB, patch)
2007-08-03 15:48 UTC, Wim Taymans
committed Details | Review

Description Wim Taymans 2007-08-02 10:31:20 UTC
streamselector currently makes the first requested stream the ative stream. This can be a problem when no dataflow actually happens on that stream (as happens with mmssrc).
Comment 1 Wim Taymans 2007-08-02 10:35:16 UTC
Created attachment 92906 [details] [review]
patch to improve stream selection

This patch will make the first stream with dataflow the default stream. It also disallows selecting streams that have not yet seen dataflow.
Comment 2 Wim Taymans 2007-08-03 15:48:02 UTC
Created attachment 93034 [details] [review]
updated patch

updated patch. Handles events correctly, subclass GstPad for more flexibility, refactor some.