summary refs log blame commit diff
path: root/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
blob: 8f696f2630130834ddd0902aa6dafc9eaa0a5e2f (plain) (tree)






























                                                                                       
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
+}