Make sure MistProcMKVExec is not tracked as a viewer.
This commit is contained in:
parent
0951758d2f
commit
233110da90
1 changed files with 12 additions and 0 deletions
|
@ -72,6 +72,12 @@ namespace Mist{
|
||||||
}
|
}
|
||||||
bool needsLock(){return false;}
|
bool needsLock(){return false;}
|
||||||
bool isSingular(){return false;}
|
bool isSingular(){return false;}
|
||||||
|
void connStats(Comms::Statistics &statComm){
|
||||||
|
for (std::map<size_t, Comms::Users>::iterator it = userSelect.begin(); it != userSelect.end(); it++){
|
||||||
|
if (it->second){it->second.setStatus(COMM_STATUS_DONOTTRACK | it->second.getStatus());}
|
||||||
|
}
|
||||||
|
InputEBML::connStats(statComm);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class ProcessSource : public OutEBML{
|
class ProcessSource : public OutEBML{
|
||||||
|
@ -111,6 +117,12 @@ namespace Mist{
|
||||||
realTime = 0;
|
realTime = 0;
|
||||||
OutEBML::sendHeader();
|
OutEBML::sendHeader();
|
||||||
};
|
};
|
||||||
|
void connStats(uint64_t now, Comms::Statistics &statComm){
|
||||||
|
for (std::map<size_t, Comms::Users>::iterator it = userSelect.begin(); it != userSelect.end(); it++){
|
||||||
|
if (it->second){it->second.setStatus(COMM_STATUS_DONOTTRACK | it->second.getStatus());}
|
||||||
|
}
|
||||||
|
OutEBML::connStats(now, statComm);
|
||||||
|
}
|
||||||
void sendNext(){
|
void sendNext(){
|
||||||
{
|
{
|
||||||
tthread::lock_guard<tthread::mutex> guard(statsMutex);
|
tthread::lock_guard<tthread::mutex> guard(statsMutex);
|
||||||
|
|
Loading…
Add table
Reference in a new issue