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 409564 - Sound device selection critical
Sound device selection critical
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 343172
 
 
Reported: 2007-02-19 11:33 UTC by Bastien Nocera
Modified: 2007-03-06 15:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2007-02-19 11:33:06 UTC
+++ This bug was initially created as a clone of Bug #343172 +++

+++ This bug was initially created as a clone of Bug #329112 +++

$ ./gnome-sound-properties

(lt-gnome-sound-properties:4956): -properties-CRITICAL **: add_selected_device: assertion `pipeline != NULL' failed

(lt-gnome-sound-properties:4956): -properties-CRITICAL **: add_selected_device: assertion `pipeline != NULL' failed

I believe those warnings come from:
add_selected_device ("music", AUDIO_PLAYBACK);
and
add_selected_device ("chat", AUDIO_PLAYBACK);

calling:
        gconf_key = get_gconf_key_for_profile (profile, type);
        pipeline = gconf_client_get_string (gconf_client, gconf_key, NULL);
        g_free (gconf_key);
There's either a missing schema, or hard-coded defaults for fallback, or a new enough version of GStreamer (which configure doesn't check for).
Comment 1 Bastien Nocera 2007-02-19 11:34:10 UTC
And Jürg said:
"
Sorry for not responding earlier. The missing schema is part of
gst-plugins-good >= 0.10.3. Unfortunately that package doesn't provide a
pkg-config file, any ideas how that could be fixed easily?
"
Comment 2 James "Doc" Livingston 2007-03-02 10:23:05 UTC
Applications should be able to gracefully handle missing or invalid GConf keys, since there are many ways it can happen. In addition, detecting plugins at compile time isn't generally a good idea, as it means you can't install it later or have things Just Work by upgrading you plugins, and it also breaks cross-compilation.

Making add_selected_device() deal with missing gconf keys would probably be a better idea.
Comment 3 Tim-Philipp Müller 2007-03-06 15:03:20 UTC
I agree with James, applications should be able to handle this gracefully. Thomas is also against adding a .pc file for this, so closing as WONTFIX.