Disable automatic loading of gstreamer plugins from non bundle locations on mac.
This commit is contained in:
parent
124ca3fe64
commit
9d0541a53b
|
@ -138,6 +138,8 @@ int main(int argc, char *argv[]) {
|
|||
QString plugin_path = QCoreApplication::applicationDirPath() + "/../PlugIns/gstreamer";
|
||||
setenv("GST_PLUGIN_SCANNER", scanner_path.toAscii().constData(), 1);
|
||||
setenv("GST_PLUGIN_PATH", plugin_path.toAscii().constData(), 1);
|
||||
// Never load plugins from anywhere else.
|
||||
setenv("GST_PLUGIN_SYSTEM_PATH", plugin_path.toAscii().constData(), 1);
|
||||
#endif
|
||||
|
||||
// Window
|
||||
|
|
Loading…
Reference in New Issue