]> git.sesse.net Git - casparcg/blobdiff - core/producer/stage.h
2.0.0: flash_producer: Use square-pixel dimensions.
[casparcg] / core / producer / stage.h
index 1217dc2c653c291f733a9ae177ee1601b7f2225a..8fb21a818d5c0a2e693afa50b618cf88f03e4d31 100644 (file)
 #include <common/memory/safe_ptr.h>\r
 \r
 #include <boost/noncopyable.hpp>\r
-#include <boost/thread/future.hpp>\r
 \r
 namespace caspar { namespace core {\r
 \r
 struct video_format_desc;\r
-class video_channel_context;;\r
+class video_channel_context;\r
+struct layer_status;\r
 \r
 class stage : boost::noncopyable\r
 {\r
@@ -49,8 +49,10 @@ public:
        void clear();   \r
        void swap_layer(int index, size_t other_index);\r
        void swap_layer(int index, size_t other_index, stage& other);\r
-       boost::unique_future<safe_ptr<frame_producer>> foreground(size_t index);\r
-       boost::unique_future<safe_ptr<frame_producer>> background(size_t index);\r
+\r
+       layer_status get_status(int index);\r
+       safe_ptr<frame_producer> foreground(size_t index);\r
+       safe_ptr<frame_producer> background(size_t index);\r
 \r
 private:\r
        struct implementation;\r