diff -r 3331b30e4ef1 -r 88fde28bbda6 QTfrontend/net/recorder.cpp --- a/QTfrontend/net/recorder.cpp Sun Oct 21 01:28:33 2012 +0400 +++ b/QTfrontend/net/recorder.cpp Sat Nov 03 00:34:35 2012 +0400 @@ -18,13 +18,12 @@ #include #include -//#include #include "recorder.h" #include "gameuiconfig.h" #include "hwconsts.h" #include "game.h" -#include "libav_iteraction.h" +#include "LibavInteraction.h" // Encoding is memory expensive process, so we need to limit maximum number // of simultaneous encoders. @@ -39,7 +38,7 @@ this->config = config; this->prefix = prefix; finished = false; - name = prefix + "." + LibavIteraction::instance().getExtension(config->AVFormat()); + name = prefix + "." + LibavInteraction::instance().getExtension(config->AVFormat()); } HWRecorder::~HWRecorder() @@ -111,7 +110,7 @@ arguments << "0"; // sound volume arguments << QString::number(config->timerInterval()); arguments << datadir->absolutePath(); - arguments << (config->isShowFPSEnabled() ? "1" : "0"); + arguments << "0"; // fps arguments << (config->isAltDamageEnabled() ? "1" : "0"); arguments << config->netNick().toUtf8().toBase64(); arguments << QString::number(config->translateQuality()); @@ -125,7 +124,7 @@ // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. // The library does support using both at once after all. arguments << QString::number(config->rec_Bitrate()*1024); - arguments << (config->recordAudio()? config->audioCodec() : "no"); + arguments << (config->recordAudio() ? config->audioCodec() : "no"); return arguments; }