X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_ring_buffers.h;h=c7f789cb5d5efb96f68b982491b54296f884b427;hb=090cd7dabd2f975e493a9bbd22754ee578d6a1b2;hp=ba1b2162f952218feccb8ee1c30b9c1d033d7a96;hpb=66b2dc980b68100c139d6cadfdcffa68b1a16069;p=dcpomatic.git diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h index ba1b2162f..c7f789cb5 100644 --- a/src/lib/video_ring_buffers.h +++ b/src/lib/video_ring_buffers.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016-2017 Carl Hetherington + Copyright (C) 2016-2020 Carl Hetherington This file is part of DCP-o-matic. @@ -26,8 +26,11 @@ #include #include + +class Film; class PlayerVideo; + class VideoRingBuffers : public boost::noncopyable { public: @@ -38,6 +41,8 @@ public: Frame size () const; bool empty () const; + void reset_metadata (boost::shared_ptr film, dcp::Size player_video_container_size); + std::pair memory_used () const; private: