phonon-backend-gstreamer: hardcode gstreamer plugin paths

This commit is contained in:
Thomas Tuegel
2017-03-10 07:26:39 -06:00
parent cc7c3c6bb8
commit 5a05f6f483
2 changed files with 35 additions and 5 deletions
@@ -0,0 +1,13 @@
Index: phonon-gstreamer-4.9.0/gstreamer/backend.cpp
===================================================================
--- phonon-gstreamer-4.9.0.orig/gstreamer/backend.cpp
+++ phonon-gstreamer-4.9.0/gstreamer/backend.cpp
@@ -85,6 +85,8 @@ Backend::Backend(QObject *parent, const
"--gst-debug-no-color"
};
+ qputenv("GST_PLUGIN_PATH_1_0", GST_PLUGIN_PATH_1_0);
+
int argc = sizeof(args) / sizeof(*args);
char **argv = const_cast<char**>(args);
GError *err = 0;