diff -r d5ec4e4eb2d5 -r 48b79b3ca592 QTfrontend/hwform.cpp --- 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); } }