#include <boost/algorithm/string.hpp>
namespace caspar { namespace core {
-
+
blend_mode get_blend_mode(const std::wstring& str)
{
if(boost::iequals(str, L"normal"))
return blend_mode::color;
else if(boost::iequals(str, L"luminosity"))
return blend_mode::luminosity;
-
+
return blend_mode::normal;
}
case blend_mode::linear_light:
return L"linear_light";
case blend_mode::vivid_light:
- return L"vivid_ligh";
+ return L"vivid_light";
case blend_mode::pin_light:
return L"pin_light";
case blend_mode::hard_mix:
}
}
-}}
\ No newline at end of file
+}}