1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
Christopher League c1c7d2894d vokoscreen: init at 2.5.0
vokoscreen is an easy to use screencast creator to record educational
videos, live recordings of browser, installation, videoconferences, etc.

It uses Qt5 and ffmpeg.
2017-01-27 16:08:34 -05:00

32 lines
1.1 KiB
Diff

diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
index bbf2abf..187efad 100644
--- a/settings/QvkSettings.cpp
+++ b/settings/QvkSettings.cpp
@@ -56,17 +56,8 @@ void QvkSettings::readAll()
GIFPlayer = settings.value( "GIFplayer" ).toString();
Minimized = settings.value( "Minimized", 0 ).toUInt();
Countdown = settings.value( "Countdown", 0 ).toUInt();
- QFile file;
- if ( file.exists( qApp->applicationDirPath().append( "/bin/ffmpeg" ) ) == true )
- {
- vokoscreenWithLibs = true;
- Recorder = qApp->applicationDirPath().append( "/bin/ffmpeg" );
- }
- else
- {
- vokoscreenWithLibs = false;
- Recorder = settings.value( "Recorder", "ffmpeg" ).toString();
- }
+ vokoscreenWithLibs = true;
+ Recorder = settings.value( "Recorder", "@ffmpeg@/bin/ffmpeg" ).toString();
settings.endGroup();
settings.beginGroup( "Videooptions" );
@@ -398,4 +389,4 @@ double QvkSettings::getShowClickTime()
int QvkSettings::getShowKeyOnOff()
{
return showKeyOnOff;
-}
\ No newline at end of file
+}