X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=core%2Fconsumer%2Fport.h;h=48e639c9225f266eef71d665ea50007a017f29d7;hb=9e4b08cde6c6de9e83a3fff42d90affc3cd8e5bc;hp=46db42c2da504b0f22349c055a445728ac2b17f8;hpb=b59ec2b89fbc8a2fbccaaa42d623db97a241a54b;p=casparcg diff --git a/core/consumer/port.h b/core/consumer/port.h index 46db42c2d..48e639c92 100644 --- a/core/consumer/port.h +++ b/core/consumer/port.h @@ -28,7 +28,7 @@ public: port& operator=(port&& other); - std::future send(const_frame frame); + std::future 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 consumer() const; private: struct impl; std::unique_ptr impl_; }; -}} \ No newline at end of file +}}