3#include <QtCore/QByteArrayView>
4#include <QtCore/QString>
5#include <QtCore/QStringList>
BundledRuntime bundledRuntime()
The bundled runtime the last prepareEnvironment() applied; empty before it ran.
VideoBackend::EnvPrepResult prepareEnvironment(const QString &appDir)
bool writeIfChanged(const QString &path, QByteArrayView content)
DesktopInstall
The desktop installs prepareEnvironment() knows how to point GStreamer into.
@ MacOSFlat
An app bundle with a flat SDK copied next to the app, whose paths win over the framework's.
@ Windows
bin/ beside lib/gstreamer-1.0 and libexec/gstreamer-1.0.
@ MacOSFramework
An app bundle with GStreamer.framework, whose paths win over the app's own lib.
@ Linux
An AppImage or other prefix: bin/ beside lib/ and libexec/.
QString usePrivateRegistry(const QString &cacheDir, const QString &installPath)
BundleLayout bundleLayout(DesktopInstall install, const QString &appDir)
Where a desktop install keeps its GStreamer runtime, as candidate paths in priority order.
QStringList scannerCandidates
The first existing entry wins.
QStringList ptpCandidates
The first existing entry wins.
QStringList gioModuleDirs
The first existing entry wins.
QStringList pluginDirs
Every existing entry is searched.
The desktop GStreamer runtime bundled with the app that prepareEnvironment() pointed GStreamer at.
QStringList pluginDirs
Empty when GStreamer uses the system's plugins, or Android's and iOS's static ones.
QString gioModuleDir
Empty when the bundle has no GIO modules.