QTfrontend/hwform.cpp
changeset 7376 48b79b3ca592
parent 7353 0e55228e1303
child 7392 bc3306c59a08
--- a/QTfrontend/hwform.cpp	Mon Jul 09 16:42:13 2012 +0400
+++ b/QTfrontend/hwform.cpp	Mon Jul 09 17:03:57 2012 +0400
@@ -1438,8 +1438,7 @@
         videosDir.rename(prefix + ".txtout", prefix + ".txtin"); // rename this file to not open it twice
         HWRecorder* pRecorder = new HWRecorder(config, prefix);
         ui.pageVideos->addRecorder(pRecorder);
-        int numFrames = QFileInfo(videosDir.absoluteFilePath(prefix + ".txtin")).size()/16;
-        pRecorder->EncodeVideo(record, numFrames);
+        pRecorder->EncodeVideo(record);
     }
 }