]> 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 1c84fa2d9cd09a7ff888392908d560cc3c54e60e..48e639c9225f266eef71d665ea50007a017f29d7 100644 (file)
@@ -28,21 +28,22 @@ public:
 
        port& operator=(port&& other);
 
-       std::future<bool> send(const_frame frame);      
+       std::future<bool> send(const_frame frame);
 
        monitor::subject& monitor_output();
 
        // Properties
 
-       void video_format_desc(const video_format_desc& format_desc);
+       void change_channel_format(const video_format_desc& format_desc, const audio_channel_layout& channel_layout);
        std::wstring print() const;
        int buffer_depth() const;
        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
+}}