#include "producer/stage.h"\r
\r
#include <common/diagnostics/graph.h>\r
+#include <common/env.h>\r
\r
#include <string>\r
\r
graph_->set_text(print());\r
diagnostics::register_graph(graph_);\r
\r
+ for(int n = 0; n < std::max(1, env::properties().get("configuration.pipeline-tokens", 2)); ++n)\r
+ stage_->spawn_token();\r
+\r
CASPAR_LOG(info) << print() << " Successfully Initialized.";\r
}\r
\r