#include <core/video_format.h>\r
\r
#include <core/producer/frame/basic_frame.h>\r
+#include <core/producer/frame/frame_factory.h>\r
#include <core/mixer/write_frame.h>\r
\r
#include <common/env.h>\r
\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
\r
// frame_producer\r
\r
- virtual safe_ptr<core::basic_frame> receive(){return frame_;}\r
+ virtual safe_ptr<core::basic_frame> receive(int){return frame_;}\r
\r
virtual safe_ptr<core::basic_frame> last_frame() const\r
{\r
}\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
}\r
\r
\r
-}
\ No newline at end of file
+}}
\ No newline at end of file