Fix MistProcMKVExec track masking for both source and target
This commit is contained in:
parent
54cee366e2
commit
96f586678f
1 changed files with 4 additions and 1 deletions
|
@ -69,6 +69,9 @@ namespace Mist{
|
|||
pStat["proc_status_update"]["sink"] = streamName;
|
||||
pStat["proc_status_update"]["source"] = opt["source"];
|
||||
}
|
||||
if (opt.isMember("target_mask") && !opt["target_mask"].isNull() && opt["target_mask"].asString() != ""){
|
||||
DTSC::trackValidDefault = opt["target_mask"].asInt();
|
||||
}
|
||||
}
|
||||
bool needsLock(){return false;}
|
||||
bool isSingular(){return false;}
|
||||
|
@ -107,7 +110,7 @@ namespace Mist{
|
|||
OutEBML::dropTrack(trackId, reason, probablyBad);
|
||||
}
|
||||
void sendHeader(){
|
||||
if (opt["masksource"].asBool()){
|
||||
if (opt["source_mask"].asBool()){
|
||||
for (std::map<size_t, Comms::Users>::iterator ti = userSelect.begin(); ti != userSelect.end(); ++ti){
|
||||
if (ti->first == INVALID_TRACK_ID){continue;}
|
||||
INFO_MSG("Masking source track %zu", ti->first);
|
||||
|
|
Loading…
Add table
Reference in a new issue