#279
Removed ImmediatelyAndClear AMCP queue type since it seems to do more harm than good.
o Added support for using a different configuration file at startup than the\r
default casparcg.config by simply adding the name of the file to use as the\r
first command line argument to casparcg.exe.\r
+ o Fixed various bugs.\r
\r
\r
\r
enum AMCPCommandScheduling\r
{\r
Default = 0,\r
- AddToQueue,\r
- ImmediatelyAndClear\r
+ AddToQueue\r
};\r
\r
class AMCPCommand\r
if(!pCurrentCommand)\r
return;\r
\r
- if(pCurrentCommand->GetScheduling() == ImmediatelyAndClear)\r
- executor_.clear();\r
-\r
if(executor_.size() > 64)\r
{\r
try\r
bool DoExecute();\r
};\r
\r
-class ClearCommand : public AMCPCommandBase<true, ImmediatelyAndClear, 0>\r
+class ClearCommand : public AMCPCommandBase<true, AddToQueue, 0>\r
{\r
std::wstring print() const { return L"ClearCommand";}\r
bool DoExecute();\r
\r
if(commandSwitch == TEXT("/APP"))\r
pCommand->SetScheduling(AddToQueue);\r
- else if(commandSwitch == TEXT("/IMMF"))\r
- pCommand->SetScheduling(ImmediatelyAndClear);\r
}\r
\r
if(pCommand->NeedChannel())\r