]> git.sesse.net Git - casparcg/commitdiff
If a template host is running but a specific flash layer is not found, log at info...
authorHelge Norberg <helge.norberg@svt.se>
Fri, 4 Dec 2015 15:53:10 +0000 (16:53 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Fri, 4 Dec 2015 15:53:10 +0000 (16:53 +0100)
modules/flash/producer/FlashAxContainer.cpp

index d011cc41987caeba4d0f1537f72bf440d2ffa73e..1b2de24587413617f96d8b1fe7050009f36c5df2 100644 (file)
@@ -646,7 +646,10 @@ void STDMETHODCALLTYPE FlashAxContainer::OnFlashCall(BSTR request)
        }
        else if(str.find(L"OnError") != std::wstring::npos)
        {
-               CASPAR_LOG(error) << print_() << L" [error]        " << str;
+               if (str.find(L"No template playing on layer") != std::wstring::npos)
+                       CASPAR_LOG(info) << print_() << L" [info]        " << str;
+               else
+                       CASPAR_LOG(error) << print_() << L" [error]        " << str;
        }
        else if(str.find(L"OnDebug") != std::wstring::npos)
        {