Cleanup: move stride_round_up into the only place it is used.
[dcpomatic.git] / src / lib / dcp_video.h
index 8efd680a2a1942036fadb6f19ef3895db26e21c8..862b787d2f1db7b87c264aa8da9346acc8580f5d 100644 (file)
@@ -39,14 +39,17 @@ class PlayerVideo;
  *  Objects of this class are used for the queue that we keep
  *  of images that require encoding.
  */
-class DCPVideo : public boost::noncopyable
+class DCPVideo
 {
 public:
        DCPVideo (std::shared_ptr<const PlayerVideo>, int index, int dcp_fps, int bandwidth, Resolution r);
        DCPVideo (std::shared_ptr<const PlayerVideo>, cxml::ConstNodePtr);
 
-       dcp::ArrayData encode_locally ();
-       dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30);
+       DCPVideo (DCPVideo const&) = delete;
+       DCPVideo& operator= (DCPVideo const&) = delete;
+
+       dcp::ArrayData encode_locally () const;
+       dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30) const;
 
        int index () const {
                return _index;