]> git.sesse.net Git - kdenlive/commitdiff
Use detected dvgrab path for capture
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 15 Nov 2008 22:14:38 +0000 (22:14 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 15 Nov 2008 22:14:38 +0000 (22:14 +0000)
svn path=/branches/KDE4/; revision=2706

src/recmonitor.cpp

index 67ef5d12406e4925a4d2fbf63624ad821e13256e..85765e4f5158e5eac7cc70f67f8984c59ba7507c 100644 (file)
@@ -346,7 +346,7 @@ void RecMonitor::slotStartCapture(bool play) {
         captureProcess->setStandardOutputProcess(displayProcess);
         captureProcess->setWorkingDirectory(KdenliveSettings::capturefolder());
         kDebug() << "Capture: Running dvgrab " << m_captureArgs.join(" ");
-        captureProcess->start("dvgrab", m_captureArgs);
+        captureProcess->start(KdenliveSettings::dvgrab_path(), m_captureArgs);
         if (play) captureProcess->write(" ", 1);
         m_discAction->setEnabled(true);
         break;
@@ -428,7 +428,7 @@ void RecMonitor::slotRecord() {
             m_displayArgs << "-f" << "mpegts" << "-x" << QString::number(ui.video_frame->width()) << "-y" << QString::number(ui.video_frame->height()) << "-";
             captureProcess->setStandardOutputProcess(displayProcess);
             kDebug() << "Capture: Running dvgrab " << m_captureArgs.join(" ");
-            captureProcess->start("dvgrab", m_captureArgs);
+            captureProcess->start(KdenliveSettings::dvgrab_path(), m_captureArgs);
             break;
         case VIDEO4LINUX:
             m_captureArgs << KdenliveSettings::video4capture().simplified().split(' ') << "-y" << m_captureFile.path() << "-f" << KdenliveSettings::video4vencoding() << "-";