#include <boost/filesystem.hpp>\r
#include <boost/format.hpp>\r
\r
-namespace caspar {\r
+namespace caspar { namespace flash {\r
\r
struct cg_producer::implementation : boost::noncopyable\r
{\r
\r
if(flash_producer->print().find(L"flash[") == std::string::npos) // UGLY hack\r
{\r
- flash_producer = create_flash_producer(video_channel->mixer(), boost::assign::list_of<std::wstring>()); \r
+ flash_producer = flash::create_producer(video_channel->mixer(), boost::assign::list_of<std::wstring>()); \r
video_channel->stage()->load(render_layer, flash_producer); \r
video_channel->stage()->play(render_layer);\r
}\r
if(!boost::filesystem::exists(filename))\r
return core::frame_producer::empty();\r
\r
- auto flash_producer = create_flash_producer(frame_factory, boost::assign::list_of<std::wstring>()); \r
+ auto flash_producer = flash::create_producer(frame_factory, boost::assign::list_of<std::wstring>()); \r
auto producer = make_safe<cg_producer>(flash_producer);\r
producer->add(0, filename, 1);\r
\r
void cg_producer::invoke(int layer, const std::wstring& label){impl_->invoke(layer, label);}\r
std::wstring cg_producer::print() const{return impl_->print();}\r
\r
-}
\ No newline at end of file
+}}
\ No newline at end of file