equal
deleted
inserted
replaced
45 { |
45 { |
46 emit encodingFinished(finished); |
46 emit encodingFinished(finished); |
47 if (queue.empty()) |
47 if (queue.empty()) |
48 numRecorders--; |
48 numRecorders--; |
49 else |
49 else |
50 queue.takeFirst()->Start(); |
50 queue.takeFirst()->Start(false); |
51 } |
51 } |
52 |
52 |
53 void HWRecorder::onClientDisconnect() |
53 void HWRecorder::onClientDisconnect() |
54 { |
54 { |
55 } |
55 } |
87 toSendBuf.replace(QByteArray("\x02TS"), QByteArray("\x02TV")); |
87 toSendBuf.replace(QByteArray("\x02TS"), QByteArray("\x02TV")); |
88 |
88 |
89 if (numRecorders < maxRecorders) |
89 if (numRecorders < maxRecorders) |
90 { |
90 { |
91 numRecorders++; |
91 numRecorders++; |
92 Start(); // run engine |
92 Start(false); // run engine |
93 } |
93 } |
94 else |
94 else |
95 queue.push_back(this); |
95 queue.push_back(this); |
96 } |
96 } |
97 |
97 |