Mercurial > pidgin
changeset 22432: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 | d83adbf0c92c |
children | 361b2e61a219 |
files | finch/gntsound.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntsound.c Thu Mar 06 15:55:39 2008 +0000 +++ b/finch/gntsound.c Thu Mar 06 16:45:45 2008 +0000 @@ -358,6 +358,11 @@ #ifdef USE_GSTREAMER purple_debug_info("sound", "Initializing sound output drivers.\n"); +#if (GST_VERSION_MAJOR > 0 || \ + (GST_VERSION_MAJOR == 0 && GST_VERSION_MINOR > 10) || \ + (GST_VERSION_MAJOR == 0 && GST_VERSION_MINOR == 10 && GST_VERSION_MICRO >= 10)) + gst_registry_fork_set_enabled(FALSE); +#endif if ((gst_init_failed = !gst_init_check(NULL, NULL, &error))) { purple_notify_error(NULL, _("GStreamer Failure"), _("GStreamer failed to initialize."),