[banshee] windows: Use absolute path for GStreamer plugins path (bgo#614058)



commit 311db5bdb616aa6ec77f60f433b583c5ccb5a9ae
Author: Dustin C. Hatch <admiralnemo gmail com>
Date:   Tue Feb 1 18:36:47 2011 -0600

    windows: Use absolute path for GStreamer plugins path (bgo#614058)
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 .../Banshee.GStreamerSharp/PlayerEngine.cs         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
index c7645fc..08dcdd6 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
@@ -60,7 +60,7 @@ namespace Banshee.GStreamerSharp
 
             // Setup the gst plugins/registry paths if running Windows
             if (PlatformDetection.IsWindows) {
-                var gst_paths = new string [] { "gst-plugins" };
+                var gst_paths = new string [] { Hyena.Paths.Combine (Hyena.Paths.InstalledApplicationPrefix, "gst-plugins") };
                 Environment.SetEnvironmentVariable ("GST_PLUGIN_PATH", String.Join (";", gst_paths));
                 Environment.SetEnvironmentVariable ("GST_PLUGIN_SYSTEM_PATH", "");
                 Environment.SetEnvironmentVariable ("GST_DEBUG", "1");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]