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 556430 - [inputselector] Assumes there's always an otherpad
[inputselector] Assumes there's always an otherpad
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-15 16:06 UTC by Edward Hervey
Modified: 2008-10-15 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gracefully handle absence of otherpad (1.42 KB, patch)
2008-10-15 16:06 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2008-10-15 16:06:14 UTC
Various parts of inputselector assume that it always has a counterpart pad.

The patch to come checks for its existence and gracefully handle it's non-existence (and therefore avoiding plenty of failed assertions).
Comment 1 Edward Hervey 2008-10-15 16:06:49 UTC
Created attachment 120656 [details] [review]
Gracefully handle absence of otherpad
Comment 2 Edward Hervey 2008-10-15 17:46:43 UTC
2008-10-15  Edward Hervey  <edward.hervey@collabora.co.uk>

        * gst/selector/gstinputselector.c: (gst_input_selector_event),
        (gst_input_selector_query):
        Gracefully handle the cases when we dont' have otherpad.
        Fixes #556430