diff --git a/src/process/process_exec.cpp b/src/process/process_exec.cpp index 296aa747..af78e03f 100644 --- a/src/process/process_exec.cpp +++ b/src/process/process_exec.cpp @@ -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::iterator ti = userSelect.begin(); ti != userSelect.end(); ++ti){ if (ti->first == INVALID_TRACK_ID){continue;} INFO_MSG("Masking source track %zu", ti->first);