X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fogl%2Fconsumer%2Fogl_consumer.cpp;h=9550a5a1e81f99e783f7f444ee066021b83a3a7c;hb=ac7b3acb915f90de6b224e54a2240023fc221e5a;hp=11c90d435590449c8720cc6d971784c1d9111020;hpb=e59ee903385d31db9a4fc928f32d3be5322b3389;p=casparcg diff --git a/modules/ogl/consumer/ogl_consumer.cpp b/modules/ogl/consumer/ogl_consumer.cpp index 11c90d435..9550a5a1e 100644 --- a/modules/ogl/consumer/ogl_consumer.cpp +++ b/modules/ogl/consumer/ogl_consumer.cpp @@ -66,7 +66,7 @@ extern "C" #pragma warning (pop) #endif -namespace caspar { +namespace caspar { namespace ogl { enum stretch { @@ -81,15 +81,15 @@ struct configuration size_t screen_index; stretch stretch; bool windowed; - bool key_only; bool auto_deinterlace; + bool key_only; configuration() : screen_index(0) , stretch(fill) , windowed(true) - , key_only(false) , auto_deinterlace(true) + , key_only(false) { } }; @@ -123,7 +123,7 @@ struct ogl_consumer : boost::noncopyable tbb::atomic is_running_; - filter filter_; + ffmpeg::filter filter_; public: ogl_consumer(const configuration& config, const core::video_format_desc& format_desc) : config_(config) @@ -463,7 +463,7 @@ public: } }; -safe_ptr create_ogl_consumer(const std::vector& params) +safe_ptr create_consumer(const std::vector& params) { if(params.size() < 1 || params[0] != L"SCREEN") return core::frame_consumer::empty(); @@ -481,7 +481,7 @@ safe_ptr create_ogl_consumer(const std::vector(config); } -safe_ptr create_ogl_consumer(const boost::property_tree::ptree& ptree) +safe_ptr create_consumer(const boost::property_tree::ptree& ptree) { configuration config; config.screen_index = ptree.get("device", config.screen_index); @@ -498,4 +498,4 @@ safe_ptr create_ogl_consumer(const boost::property_tree::p return make_safe(config); } -} \ No newline at end of file +}} \ No newline at end of file