Add option to bundle gstreamer plugins on Linux

This commit is contained in:
Jonas Kvinge
2019-08-27 22:29:48 +02:00
parent 2a61b1202b
commit 9b45f0661e
2 changed files with 12 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ void GstStartup::SetEnvironment() {
// On Windows and macOS we bundle the gstreamer plugins with strawberry
#ifdef USE_BUNDLE
#if defined(Q_OS_MACOS)
#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
scanner_path = QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR + "/gst-plugin-scanner";
plugin_path = QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR + "/gstreamer";
#elif defined(Q_OS_WIN32)