| 315 purple_prefs_add_string(PIDGIN_PREFS_ROOT "/sound/method", "automatic"); |
315 purple_prefs_add_string(PIDGIN_PREFS_ROOT "/sound/method", "automatic"); |
| 316 purple_prefs_add_int(PIDGIN_PREFS_ROOT "/sound/volume", 50); |
316 purple_prefs_add_int(PIDGIN_PREFS_ROOT "/sound/volume", 50); |
| 317 |
317 |
| 318 #ifdef USE_GSTREAMER |
318 #ifdef USE_GSTREAMER |
| 319 purple_debug_info("sound", "Initializing sound output drivers.\n"); |
319 purple_debug_info("sound", "Initializing sound output drivers.\n"); |
| |
320 gst_registry_fork_set_enabled(FALSE); |
| 320 if ((gst_init_failed = !gst_init_check(NULL, NULL, &error))) { |
321 if ((gst_init_failed = !gst_init_check(NULL, NULL, &error))) { |
| 321 purple_notify_error(NULL, _("GStreamer Failure"), |
322 purple_notify_error(NULL, _("GStreamer Failure"), |
| 322 _("GStreamer failed to initialize."), |
323 _("GStreamer failed to initialize."), |
| 323 error ? error->message : ""); |
324 error ? error->message : ""); |
| 324 if (error) { |
325 if (error) { |