From: niklaspandersson Date: Thu, 11 Apr 2013 14:21:35 +0000 (+0200) Subject: issue #97 X-Git-Tag: 2.0.6~123^2~1 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d21afbd;p=casparcg issue #97 ready for test --- diff --git a/modules/image/producer/image_producer.cpp b/modules/image/producer/image_producer.cpp index 192a5304a..73d739dc3 100644 --- a/modules/image/producer/image_producer.cpp +++ b/modules/image/producer/image_producer.cpp @@ -98,7 +98,7 @@ struct image_producer : public core::frame_producer safe_ptr create_raw_producer(const safe_ptr& frame_factory, const std::vector& params) { static const std::vector extensions = list_of(L"png")(L"tga")(L"bmp")(L"jpg")(L"jpeg")(L"gif")(L"tiff")(L"tif")(L"jp2")(L"jpx")(L"j2k")(L"j2c"); - std::wstring filename = env::media_folder() + L"\\" + params[0]; + std::wstring filename = env::media_folder() + params[0]; auto ext = std::find_if(extensions.begin(), extensions.end(), [&](const std::wstring& ex) -> bool {