Made Util::streamName and exitReason thread-local
This commit is contained in:
parent
7c6da9d455
commit
7423868de4
11 changed files with 40 additions and 32 deletions
|
@ -46,7 +46,7 @@ namespace Mist{
|
|||
streamName = opt["sink"].asString();
|
||||
if (!streamName.size()){streamName = opt["source"].asString();}
|
||||
Util::streamVariables(streamName, opt["source"].asString());
|
||||
Util::streamName = opt["source"].asString() + "→" + streamName;
|
||||
Util::setStreamName(opt["source"].asString() + "→" + streamName);
|
||||
}
|
||||
bool needsLock(){return false;}
|
||||
bool isSingular(){return false;}
|
||||
|
|
|
@ -389,7 +389,7 @@ namespace Mist{
|
|||
streamName = opt["sink"].asString();
|
||||
if (!streamName.size()){streamName = opt["source"].asString();}
|
||||
Util::streamVariables(streamName, opt["source"].asString());
|
||||
Util::streamName = opt["source"].asString() + "→" + streamName;
|
||||
Util::setStreamName(opt["source"].asString() + "→" + streamName);
|
||||
}
|
||||
|
||||
std::string EncodeOutputEBML::getTrackType(int tid){return M.getType(tid);}
|
||||
|
|
|
@ -227,7 +227,7 @@ namespace Mist{
|
|||
streamName = opt["sink"].asString();
|
||||
if (!streamName.size()){streamName = opt["source"].asString();}
|
||||
Util::streamVariables(streamName, opt["source"].asString());
|
||||
Util::streamName = opt["source"].asString() + "→" + streamName;
|
||||
Util::setStreamName(opt["source"].asString() + "→" + streamName);
|
||||
preRun();
|
||||
};
|
||||
virtual bool needsLock(){return false;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue