X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_ring_buffers.h;h=ba1b2162f952218feccb8ee1c30b9c1d033d7a96;hb=9bdf75cc619740246c2c413d204f26e228e75bb1;hp=887a5dc2fd2ca9e2c4c3c0858f9d519773b4441c;hpb=a5ea5c0d2637dd41e3d356cb62cac75b8cadf8ce;p=dcpomatic.git diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h index 887a5dc2f..ba1b2162f 100644 --- a/src/lib/video_ring_buffers.h +++ b/src/lib/video_ring_buffers.h @@ -31,17 +31,16 @@ class PlayerVideo; class VideoRingBuffers : public boost::noncopyable { public: - void put (boost::shared_ptr frame, DCPTime time); - std::pair, DCPTime> get (); + void put (boost::shared_ptr frame, dcpomatic::DCPTime time); + std::pair, dcpomatic::DCPTime> get (); void clear (); Frame size () const; bool empty () const; - boost::optional earliest () const; std::pair memory_used () const; private: mutable boost::mutex _mutex; - std::list, DCPTime> > _data; + std::list, dcpomatic::DCPTime> > _data; };