Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 35 lines 1.8 kB view raw
1diff --git a/plugins/lame/encoderlame.cpp b/plugins/lame/encoderlame.cpp 2index 48d1d76..2643d6a 100644 3--- a/plugins/lame/encoderlame.cpp 4+++ b/plugins/lame/encoderlame.cpp 5@@ -244,7 +244,7 @@ long EncoderLame::readInit(long /*size*/) 6 7 // -r raw/pcm 8 // -s 44.1 (because it is raw you have to specify this) 9- *(d->currentEncodeProcess) << QStringLiteral("lame") << QStringLiteral("--verbose") << QStringLiteral("-r") << QStringLiteral("-s") 10+ *(d->currentEncodeProcess) << QStringLiteral("@lame@") << QStringLiteral("--verbose") << QStringLiteral("-r") << QStringLiteral("-s") 11 << QStringLiteral("44.1"); 12 *(d->currentEncodeProcess) << args; 13 if (Settings::self()->id3_tag()) 14diff --git a/plugins/opus/encoderopus.cpp b/plugins/opus/encoderopus.cpp 15index ef297fb..465bb3e 100644 16--- a/plugins/opus/encoderopus.cpp 17+++ b/plugins/opus/encoderopus.cpp 18@@ -82,7 +82,7 @@ QWidget *EncoderOpus::getConfigureWidget(KConfigSkeleton **manager) const 19 bool EncoderOpus::init() 20 { 21 // Determine if opusenc is installed on the system or not. 22- if (QStandardPaths::findExecutable(QStringLiteral("opusenc")).isEmpty()) 23+ if (QStandardPaths::findExecutable(QStringLiteral("@opusenc@")).isEmpty()) 24 return false; 25 26 return true; 27@@ -140,7 +140,7 @@ long EncoderOpus::readInit(long /*size*/) 28 29 // --raw raw/pcm 30 // --raw-rate 44100 (because it is raw you have to specify this) 31- *(d->currentEncodeProcess) << QStringLiteral("opusenc") << QStringLiteral("--raw") << QStringLiteral("--raw-rate") << QStringLiteral("44100"); 32+ *(d->currentEncodeProcess) << QStringLiteral("@opusenc@") << QStringLiteral("--raw") << QStringLiteral("--raw-rate") << QStringLiteral("44100"); 33 *(d->currentEncodeProcess) << args; 34 *d->currentEncodeProcess << trackInfo; 35