--- 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);
}
}