adium 2719:a70a33c83ba5: set GST_PLUGIN_PATH when we load our li...

commits at adium.im commits at adium.im
Wed Sep 23 03:13:05 UTC 2009


details:	http://hg.adium.im/adium/rev/a70a33c83ba5
revision:	2719:a70a33c83ba5
author:		Stephen Holt <sholt at adium.im>
date:		Tue Sep 22 23:05:07 2009 -0400

set GST_PLUGIN_PATH when we load our libpurple plugin, so gstreamer knows where to look for everything.

diffs (15 lines):

diff -r 2bf8f0b7bf1d -r a70a33c83ba5 Plugins/Purple Service/CBPurpleServicePlugin.m
--- a/Plugins/Purple Service/CBPurpleServicePlugin.m	Tue Sep 22 00:23:24 2009 -0400
+++ b/Plugins/Purple Service/CBPurpleServicePlugin.m	Tue Sep 22 23:05:07 2009 -0400
@@ -38,7 +38,10 @@
 																		forClass:[self class]]
 										  forGroup:GROUP_ACCOUNT_STATUS];
 	
-    //Install the services
+    //Set the gstreamer plugin path
+	setenv("GST_PLUGIN_PATH", [[[NSBundle mainBundle] bundlePath] cStringUsingEncoding:NSUTF8StringEncoding], 0);
+	
+	//Install the services
 	[ESAIMService registerService];
 	[ESDotMacService registerService];
 	[AIMobileMeService registerService];




More information about the commits mailing list