3 #include <common/concurrency/executor.h>
\r
5 #include <core/mixer/gpu/ogl_device.h>
\r
6 #include <core/video_format.h>
\r
8 #include <boost/noncopyable.hpp>
\r
9 #include <boost/lexical_cast.hpp>
\r
13 namespace caspar { namespace core {
\r
15 struct video_channel_context
\r
17 video_channel_context(int index, ogl_device& ogl, const video_format_desc& format_desc)
\r
19 , format_desc(format_desc)
\r
20 , execution(print() + L"/execution")
\r
21 , destruction(print() + L"/destruction")
\r
24 execution.set_priority_class(above_normal_priority_class);
\r
28 video_format_desc format_desc;
\r
30 executor destruction;
\r
33 std::wstring print() const
\r
35 return L"video_channel[" + boost::lexical_cast<std::wstring>(index+1) + L"-" + format_desc.name + L"]";
\r