]> git.sesse.net Git - casparcg/blobdiff - core/consumer/port.h
Created a consumer that provides sync to a channel based on the pace of another chann...
[casparcg] / core / consumer / port.h
index 46db42c2da504b0f22349c055a445728ac2b17f8..48e639c9225f266eef71d665ea50007a017f29d7 100644 (file)
@@ -28,7 +28,7 @@ public:
 
        port& operator=(port&& other);
 
-       std::future<bool> send(const_frame frame);      
+       std::future<bool> send(const_frame frame);
 
        monitor::subject& monitor_output();
 
@@ -40,9 +40,10 @@ public:
        bool has_synchronization_clock() const;
        boost::property_tree::wptree info() const;
        int64_t presentation_frame_age_millis() const;
+       spl::shared_ptr<const frame_consumer> consumer() const;
 private:
        struct impl;
        std::unique_ptr<impl> impl_;
 };
 
-}}
\ No newline at end of file
+}}