]> git.sesse.net Git - casparcg/commitdiff
issue #97
authorniklaspandersson <niklas.p.andersson@svt.se>
Thu, 11 Apr 2013 14:21:35 +0000 (16:21 +0200)
committerniklaspandersson <niklas.p.andersson@svt.se>
Thu, 11 Apr 2013 14:21:35 +0000 (16:21 +0200)
ready for test

modules/image/producer/image_producer.cpp

index 192a5304a0fcc4cd824fb9b6c8f64979fcf9b2f4..73d739dc3094da2f5ac8fea3b88ad276cde453f3 100644 (file)
@@ -98,7 +98,7 @@ struct image_producer : public core::frame_producer
 safe_ptr<core::frame_producer> create_raw_producer(const safe_ptr<core::frame_factory>& frame_factory, const std::vector<std::wstring>& params)\r
 {\r
        static const std::vector<std::wstring> 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");\r
-       std::wstring filename = env::media_folder() + L"\\" + params[0];\r
+       std::wstring filename = env::media_folder() + params[0];\r
        \r
        auto ext = std::find_if(extensions.begin(), extensions.end(), [&](const std::wstring& ex) -> bool\r
                {                                       \r