Use plain git hash for VERSION when there is no exact tag.
[dcpomatic.git] / src / lib / video_ring_buffers.h
index 444a49ea771e489c3d5cb7bf60ba919b17466cc3..1514e9bbd2e23e58a7c9b4989abca99e0706a6c6 100644 (file)
 */
 
 
+#ifndef DCPOMATIC_VIDEO_RING_BUFFERS_H
+#define DCPOMATIC_VIDEO_RING_BUFFERS_H
+
+
 #include "dcpomatic_time.h"
 #include "player_video.h"
-#include "types.h"
-#include <boost/noncopyable.hpp>
 #include <boost/thread/mutex.hpp>
 #include <utility>
 
@@ -31,9 +33,14 @@ class Film;
 class PlayerVideo;
 
 
-class VideoRingBuffers : public boost::noncopyable
+class VideoRingBuffers
 {
 public:
+       VideoRingBuffers () {}
+
+       VideoRingBuffers (VideoRingBuffers const&) = delete;
+       VideoRingBuffers& operator= (VideoRingBuffers const&) = delete;
+
        void put (std::shared_ptr<PlayerVideo> frame, dcpomatic::DCPTime time);
        std::pair<std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime> get ();
 
@@ -49,3 +56,6 @@ private:
        mutable boost::mutex _mutex;
        std::list<std::pair<std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime>> _data;
 };
+
+
+#endif