]> git.sesse.net Git - casparcg/blobdiff - modules/image/producer/image_producer.cpp
2.0. Updated namespaces.
[casparcg] / modules / image / producer / image_producer.cpp
index 3b0fad69f3353a8063b112b0a9a7592ad5d3ef90..b3084f91954f63eba2dedcffc0a21a640c493389 100644 (file)
@@ -36,7 +36,7 @@
 \r
 using namespace boost::assign;\r
 \r
-namespace caspar {\r
+namespace caspar { namespace image {\r
 \r
 struct image_producer : public core::frame_producer\r
 {      \r
@@ -70,7 +70,7 @@ struct image_producer : public core::frame_producer
        }\r
 };\r
 \r
-safe_ptr<core::frame_producer> create_image_producer(const safe_ptr<core::frame_factory>& frame_factory, const std::vector<std::wstring>& params)\r
+safe_ptr<core::frame_producer> create_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
@@ -87,4 +87,4 @@ safe_ptr<core::frame_producer> create_image_producer(const safe_ptr<core::frame_
 }\r
 \r
 \r
-}
\ No newline at end of file
+}}
\ No newline at end of file