#pragma warning (disable : 4505) // unreferenced local function has been
#pragma warning (disable : 4481) // nonstandard extension used: override specifier 'override'
#pragma warning (disable : 4996) // function call with parameters that may be unsafe
+
+#if (_MSC_VER > 1800 && _MSC_FULL_VER >= 190023506)
+ #pragma warning( disable : 4592) // symbol will be dynamically initialized (implementation limitation). Bug in VS2015 14.0.24720.00 Update 1
+#endif
+
#endif
#include <boost/algorithm/string.hpp>
namespace caspar { namespace core {
-#pragma warning( push )
-#pragma warning( disable : 4592)
+
const std::vector<video_format_desc> format_descs = {
{ video_format::pal, 720, 576, 1024, 576, field_mode::upper, 25, 1, L"PAL", { 1920 } },
{ video_format::ntsc, 720, 486, 720, 540, field_mode::lower, 30000, 1001, L"NTSC", { 1602, 1601, 1602, 1601, 1602 } },
{ video_format::dci2160p2500, 4096, 2160, 4096, 2160, field_mode::progressive, 25, 1, L"dci2160p2500", { 1920 } },
{ video_format::invalid, 0, 0, 0, 0, field_mode::progressive, 1, 1, L"invalid", { 1 } }
};
-#pragma warning( pop )
+
video_format_desc::video_format_desc(
video_format format,
int width,
sink.example(L">> PLAY 1-10 [PNG_BASE64] data...", L"Plays a PNG image transferred as a base64 encoded string.");
}
-#pragma warning( push )
-#pragma warning( disable : 4592)
static const auto g_extensions = {
L".png",
L".tga",
L".j2k",
L".j2c"
};
-#pragma warning( pop )
spl::shared_ptr<core::frame_producer> create_producer(const core::frame_producer_dependencies& dependencies, const std::vector<std::wstring>& params)
{