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 563147 - input-selector doesn't notify of active-pad changing when it automatically selects a pad
input-selector doesn't notify of active-pad changing when it automatically se...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-03 18:20 UTC by Michael Smith
Modified: 2008-12-04 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Notify when the active pad changes (2.07 KB, patch)
2008-12-03 18:21 UTC, Michael Smith
committed Details | Review

Description Michael Smith 2008-12-03 18:20:39 UTC
When input-selector doesn't have an active pad (e.g. initially), it selects one based on whichever pad gets data/does a pad-alloc first.

It doesn't do a g_object_notify() for active-pad in this case. playbin2 uses this to track what stream is currently active - so this means playbin2 doesn't send the appropriate notifies either.

Patch in a moment..
Comment 1 Michael Smith 2008-12-03 18:21:33 UTC
Created attachment 123888 [details] [review]
Notify when the active pad changes
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-12-04 12:04:48 UTC
Good catch, please commit.