X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=protocol%2Fcii%2FCIIProtocolStrategy.cpp;h=f0768555350b3daeb3732ef28007192354ad371e;hb=ac7b3acb915f90de6b224e54a2240023fc221e5a;hp=1bf718356a48cbd6af430891f323784a4d1126e0;hpb=e59ee903385d31db9a4fc928f32d3be5322b3389;p=casparcg diff --git a/protocol/cii/CIIProtocolStrategy.cpp b/protocol/cii/CIIProtocolStrategy.cpp index 1bf718356..f07685553 100644 --- a/protocol/cii/CIIProtocolStrategy.cpp +++ b/protocol/cii/CIIProtocolStrategy.cpp @@ -173,14 +173,14 @@ void CIIProtocolStrategy::WriteTemplateData(const std::wstring& templateName, co fullTemplateFilename += TEXT("\\"); } fullTemplateFilename += templateName; - fullTemplateFilename = find_flash_template(fullTemplateFilename); + fullTemplateFilename = flash::find_template(fullTemplateFilename); if(fullTemplateFilename.empty()) { CASPAR_LOG(error) << "Failed to save instance of " << templateName << TEXT(" as ") << titleName << TEXT(", template ") << fullTemplateFilename << " not found"; return; } - auto producer = create_flash_producer(this->GetChannel()->mixer(), boost::assign::list_of(env::template_folder()+TEXT("CG.fth"))); + auto producer = flash::create_producer(this->GetChannel()->mixer(), boost::assign::list_of(env::template_folder()+TEXT("CG.fth"))); std::wstringstream flashParam; flashParam << TEXT("1") << currentProfile_ << '/' << templateName << TEXT("0 ");