diff finch/gntsound.c @ 22510:e04a69cf1d8e

propagate from branch 'im.pidgin.pidgin' (head 6ff3e48f37ce327ca03e8d3394cac62e40b6fe05) to branch 'im.pidgin.pidgin.custom_smiley' (head 50551dcda7246e564389e053651a71209c09e94c)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 07 Mar 2008 21:32:09 +0000
parents b7be2d6f96a3
children cc8903c59d6b
line wrap: on
line diff
--- a/finch/gntsound.c	Wed Mar 05 17:18:09 2008 +0000
+++ b/finch/gntsound.c	Fri Mar 07 21:32:09 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."),