summaryrefslogtreecommitdiff
path: root/src/lib/video_ring_buffers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_ring_buffers.h')
-rw-r--r--src/lib/video_ring_buffers.h7
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: