]> git.sesse.net Git - casparcg/blobdiff - core/producer/frame_producer.h
2.0 image_mixer: Refactored, core: Fixed destruction proxy usage.
[casparcg] / core / producer / frame_producer.h
index d2b1becdf9f83ba04bb4d35aa1941feabe03a203..830461d5b9841ca7a31c73bc28e0285033b1c88a 100644 (file)
 #include <stdint.h>\r
 #include <numeric>\r
 \r
-namespace caspar { namespace core {\r
+namespace caspar { \r
+       \r
+class executor;\r
+       \r
+namespace core {\r
 \r
 class basic_frame;\r
 struct frame_factory;\r
@@ -66,5 +70,6 @@ typedef std::function<safe_ptr<core::frame_producer>(const safe_ptr<frame_factor
 void register_producer_factory(const producer_factory_t& factory); // Not thread-safe.\r
 safe_ptr<core::frame_producer> create_producer(const safe_ptr<frame_factory>&, const std::vector<std::wstring>& params);\r
 \r
+safe_ptr<core::frame_producer> create_destroy_producer_proxy(executor& destroy_context, const safe_ptr<frame_producer>& producer);\r
 \r
 }}\r