Mercurial > pidgin.yaz
comparison finch/gntsound.c @ 22421:b7be2d6f96a3
finch port of e4b22781 ('Tell gstreamer not to fork').
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 06 Mar 2008 16:45:45 +0000 |
parents | 5152a14d06a3 |
children | cc8903c59d6b |
comparison
equal
deleted
inserted
replaced
22419:d83adbf0c92c | 22421:b7be2d6f96a3 |
---|---|
356 purple_prefs_trigger_callback(FINCH_PREFS_ROOT "/sound/actprofile"); | 356 purple_prefs_trigger_callback(FINCH_PREFS_ROOT "/sound/actprofile"); |
357 | 357 |
358 | 358 |
359 #ifdef USE_GSTREAMER | 359 #ifdef USE_GSTREAMER |
360 purple_debug_info("sound", "Initializing sound output drivers.\n"); | 360 purple_debug_info("sound", "Initializing sound output drivers.\n"); |
361 #if (GST_VERSION_MAJOR > 0 || \ | |
362 (GST_VERSION_MAJOR == 0 && GST_VERSION_MINOR > 10) || \ | |
363 (GST_VERSION_MAJOR == 0 && GST_VERSION_MINOR == 10 && GST_VERSION_MICRO >= 10)) | |
364 gst_registry_fork_set_enabled(FALSE); | |
365 #endif | |
361 if ((gst_init_failed = !gst_init_check(NULL, NULL, &error))) { | 366 if ((gst_init_failed = !gst_init_check(NULL, NULL, &error))) { |
362 purple_notify_error(NULL, _("GStreamer Failure"), | 367 purple_notify_error(NULL, _("GStreamer Failure"), |
363 _("GStreamer failed to initialize."), | 368 _("GStreamer failed to initialize."), |
364 error ? error->message : ""); | 369 error ? error->message : ""); |
365 if (error) { | 370 if (error) { |