]> git.sesse.net Git - casparcg/blobdiff - modules/decklink/consumer/decklink_consumer.h
Created a consumer that provides sync to a channel based on the pace of another chann...
[casparcg] / modules / decklink / consumer / decklink_consumer.h
index 4447baf8d48c8dd33b191dcd5b72ff3e4e8c408e..b06fe7f58577608b47cfa2a4142d02cd58ed249a 100644 (file)
 
 #include <common/memory.h>
 
-#include <core/video_format.h>
+#include <core/fwd.h>
 
-#include <boost/property_tree/ptree.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
 
 #include <string>
 #include <vector>
 
-namespace caspar {
-
-namespace core {
-       class frame_consumer;
-       struct interaction_sink;
-}
-
-namespace decklink {
+namespace caspar { namespace decklink {
 
+void describe_consumer(core::help_sink& sink, const core::help_repository& repo);
 spl::shared_ptr<core::frame_consumer> create_consumer(
-               const std::vector<std::wstring>& params, core::interaction_sink*);
+               const std::vector<std::wstring>& params, core::interaction_sink*,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
 spl::shared_ptr<core::frame_consumer> create_preconfigured_consumer(
-               const boost::property_tree::wptree& ptree, core::interaction_sink*);
+               const boost::property_tree::wptree& ptree, core::interaction_sink*,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
 
-}}
\ No newline at end of file
+}}