]> git.sesse.net Git - casparcg/blobdiff - protocol/clk/CLKProtocolStrategy.cpp
2.0. Updated namespaces.
[casparcg] / protocol / clk / CLKProtocolStrategy.cpp
index e7c2f622844ba4ebd5a8a2a4d71b0c052f5455f0..5d25b86bd290a76e0b1cd35c4e08854dd2379329 100644 (file)
@@ -115,7 +115,7 @@ void CLKProtocolStrategy::Parse(const TCHAR* pData, int charCount, IO::ClientInf
 \r
                        if(currentCommand_.command_ == CLKCommand::CLKReset) \r
                        {\r
-                               pChannel_->stage()->clear(cg_producer::DEFAULT_LAYER);\r
+                               pChannel_->stage()->clear(flash::cg_producer::DEFAULT_LAYER);\r
                                bClockLoaded_ = false;\r
                                \r
                                CASPAR_LOG(info) << L"CLK: Recieved and executed reset-command";\r
@@ -124,11 +124,11 @@ void CLKProtocolStrategy::Parse(const TCHAR* pData, int charCount, IO::ClientInf
                        {\r
                                if(!bClockLoaded_) \r
                                {\r
-                                       get_default_cg_producer(pChannel_)->add(0, TEXT("hawrysklocka/clock.ft"), true, TEXT(""), currentCommand_.GetData());\r
+                                       flash::get_default_cg_producer(pChannel_)->add(0, TEXT("hawrysklocka/clock.ft"), true, TEXT(""), currentCommand_.GetData());\r
                                        bClockLoaded_ = true;\r
                                }\r
                                else \r
-                                       get_default_cg_producer(pChannel_)->update(0, currentCommand_.GetData());\r
+                                       flash::get_default_cg_producer(pChannel_)->update(0, currentCommand_.GetData());\r
                                \r
                                CASPAR_LOG(debug) << L"CLK: Clockdata sent: " << currentCommand_.GetData();\r
                                CASPAR_LOG(debug) << L"CLK: Executed valid command: " << currentCommandString_.str();\r