biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / video / vokoscreen / ffmpeg-out-of-box.patch
blobafcee3f9715f99af11a4dde7ef4479c61cc12d76
1 diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
2 index 3008e62..07485bd 100644
3 --- a/settings/QvkSettings.cpp
4 +++ b/settings/QvkSettings.cpp
5 @@ -66,17 +66,8 @@ void QvkSettings::readAll()
6 Minimized = settings.value( "Minimized", 0 ).toUInt();
7 MinimizedByStart = settings.value( "MinimizedByStart", 0 ).toUInt();
8 Countdown = settings.value( "Countdown", 0 ).toUInt();
9 - QFile file;
10 - if ( file.exists( qApp->applicationDirPath().append( "/bin/ffmpeg" ) ) == true )
11 - {
12 - vokoscreenWithLibs = true;
13 - Recorder = qApp->applicationDirPath().append( "/bin/ffmpeg" );
14 - }
15 - else
16 - {
17 - vokoscreenWithLibs = false;
18 - Recorder = settings.value( "Recorder", "ffmpeg" ).toString();
19 - }
20 + vokoscreenWithLibs = true;
21 + Recorder = settings.value( "Recorder", "@ffmpeg@/bin/ffmpeg" ).toString();
22 settings.endGroup();
24 settings.beginGroup( "Videooptions" );