X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_ring_buffers.h;h=f3e521553168f938448b9a7436fad604b0d1ce59;hb=fce29f479ce0b3497fb6f434dd137c6e0c75524e;hp=cf61b90cc905c405d1a9c11b0dcac26f020479f9;hpb=90c782a16c26fa8bfded51cad2bc7bbc14d8f986;p=dcpomatic.git diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h index cf61b90cc..f3e521553 100644 --- a/src/lib/video_ring_buffers.h +++ b/src/lib/video_ring_buffers.h @@ -37,7 +37,8 @@ public: void clear (); Frame size () const; bool empty () const; - boost::optional earliest () const; + + std::pair memory_used () const; private: mutable boost::mutex _mutex;