X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_video.h;h=33df0942cbb5e7a1e6c6c88b3edb3c9e2feb7ec2;hb=91c86d50eb8a4a92e30736564c13bc4d11878f7f;hp=0bb583c57488432e86b27fbf2411430660d6a147;hpb=b249700e1da7dd6631a8b4440587f4093a2bdef1;p=dcpomatic.git diff --git a/src/lib/dcp_video.h b/src/lib/dcp_video.h index 0bb583c57..33df0942c 100644 --- a/src/lib/dcp_video.h +++ b/src/lib/dcp_video.h @@ -18,18 +18,23 @@ */ -#include "types.h" + #include "encode_server_description.h" +#include "resolution.h" #include #include +#include + /** @file src/dcp_video_frame.h * @brief A single frame of video destined for a DCP. */ + class Log; class PlayerVideo; + /** @class DCPVideo * @brief A single frame of video destined for a DCP. * @@ -45,11 +50,11 @@ public: DCPVideo (std::shared_ptr, int index, int dcp_fps, int bandwidth, Resolution r); DCPVideo (std::shared_ptr, cxml::ConstNodePtr); - DCPVideo (DCPVideo const&) = delete; - DCPVideo& operator= (DCPVideo const&) = delete; + DCPVideo (DCPVideo const&) = default; + DCPVideo& operator= (DCPVideo const&) = default; - dcp::ArrayData encode_locally (); - dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30); + dcp::ArrayData encode_locally () const; + dcp::ArrayData encode_remotely (EncodeServerDescription, int timeout = 30) const; int index () const { return _index;