X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_video.h;h=3bd516ccd4ea676567e80ac70880d39b382568c6;hb=f64f48051c9054830561a868a320b8003126134a;hp=5d8b9b720a3aef0da98223f287e3668755d8f8b9;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/lib/dcp_video.h b/src/lib/dcp_video.h index 5d8b9b720..3bd516ccd 100644 --- a/src/lib/dcp_video.h +++ b/src/lib/dcp_video.h @@ -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, int, int, int, Resolution); + DCPVideo (std::shared_ptr, int index, int dcp_fps, int bandwidth, Resolution r); DCPVideo (std::shared_ptr, cxml::ConstNodePtr); - dcp::ArrayData encode_locally (); - dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30); + DCPVideo (DCPVideo const&) = default; + DCPVideo& operator= (DCPVideo const&) = default; + + dcp::ArrayData encode_locally () const; + dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30) const; int index () const { return _index;