X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=core%2Fvideo_channel_context.h;h=4c06e3a9f3801dd9fafee0c48bd8232bec31d2c3;hb=a486c25d5e6ce0ebe08e9a2d793a447ff3cb797a;hp=f30799147c047ad7595dd07c0c51f54cb28fa376;hpb=8f091990c8e3c1997b4b2d89f97b319cb6ea889d;p=casparcg diff --git a/core/video_channel_context.h b/core/video_channel_context.h index f30799147..4c06e3a9f 100644 --- a/core/video_channel_context.h +++ b/core/video_channel_context.h @@ -2,7 +2,6 @@ #include -#include #include #include @@ -12,16 +11,16 @@ #include -namespace caspar { namespace core { +namespace caspar { + +class executor; + +namespace core { + +class ogl_device; class video_channel_context { - mutable tbb::spin_rw_mutex mutex_; - const int index_; - video_format_desc format_desc_; - executor execution_; - executor destruction_; - ogl_device& ogl_; public: video_channel_context(int index, ogl_device& ogl, const video_format_desc& format_desc); @@ -33,6 +32,9 @@ public: executor& destruction(); ogl_device& ogl(); std::wstring print() const; +private: + struct implementation; + std::shared_ptr impl_; }; }} \ No newline at end of file