diff -r e0a76056a633 -r 08960209db8c QTfrontend/net/recorder.cpp --- a/QTfrontend/net/recorder.cpp Thu Nov 22 00:56:36 2012 +0400 +++ b/QTfrontend/net/recorder.cpp Thu Nov 22 01:19:16 2012 +0400 @@ -47,16 +47,21 @@ if (queue.empty()) numRecorders--; else - queue.takeFirst()->Start(false); + queue.takeFirst()->start(false); } void HWRecorder::onClientDisconnect() { } +void HWRecorder::onEngineStart() +{ + +} + void HWRecorder::onClientRead() { - quint8 msglen; +/* quint8 msglen; quint32 bufsize; while (!readbuffer.isEmpty() && ((bufsize = readbuffer.size()) > 0) && ((msglen = readbuffer.data()[0]) < bufsize)) @@ -75,12 +80,12 @@ finished = true; break; } - } + }*/ } void HWRecorder::EncodeVideo(const QByteArray & record) { - toSendBuf = record; + /*toSendBuf = record; toSendBuf.replace(QByteArray("\x02TD"), QByteArray("\x02TV")); toSendBuf.replace(QByteArray("\x02TL"), QByteArray("\x02TV")); toSendBuf.replace(QByteArray("\x02TN"), QByteArray("\x02TV")); @@ -92,7 +97,7 @@ Start(false); // run engine } else - queue.push_back(this); + queue.push_back(this);*/ } QStringList HWRecorder::getArguments() @@ -103,7 +108,7 @@ arguments << QString::number(resolution.width()); arguments << QString::number(resolution.height()); arguments << "32"; // bpp - arguments << QString("%1").arg(ipc_port); + //arguments << QString("%1").arg(ipc_port); arguments << "0"; // fullscreen arguments << "0"; // sound arguments << "0"; // music