diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-01 11:32:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-01 11:32:11 +0100 |
| commit | 090cd7dabd2f975e493a9bbd22754ee578d6a1b2 (patch) | |
| tree | 1d1e3165157d70102aef5ed8eee60292f4fd0c55 /src/lib/video_ring_buffers.h | |
| parent | 66b2dc980b68100c139d6cadfdcffa68b1a16069 (diff) | |
Add VideoRingBuffers::reset_metadata().
Diffstat (limited to 'src/lib/video_ring_buffers.h')
| -rw-r--r-- | src/lib/video_ring_buffers.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <cth@carlh.net> + Copyright (C) 2016-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -26,8 +26,11 @@ #include <boost/shared_ptr.hpp> #include <utility> + +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<const Film> film, dcp::Size player_video_container_size); + std::pair<size_t, std::string> memory_used () const; private: |
