finch/gntsound.c

changeset 22568
1385c5f4a0b7
parent 22340
5a20c8e2a79e
child 22942
2bf494f8e2a4
--- 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."),

mercurial