summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-04 00:24:55 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-04 00:24:55 +0100
commit42cdfe79afa72a428b5ee851611079f84d237f63 (patch)
tree5924126c4a849574a8be6b423051eda3120491ea /src/lib/encoder.h
parent81e16caf6414a011bbbe6e8c788f9dc1e4c0ce52 (diff)
Some noncopyable removal.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 78c1f9908..1403e75b2 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -32,13 +32,18 @@ class Job;
class PlayerVideo;
class AudioBuffers;
-/** @class Encoder */
-class Encoder : public boost::noncopyable
+/** @class Encoder
+ * @brief Parent class for something that can encode a film into some format
+ */
+class Encoder
{
public:
Encoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job);
virtual ~Encoder () {}
+ Encoder (Encoder const&) = delete;
+ Encoder& operator= (Encoder const&) = delete;
+
virtual void go () = 0;
/** @return the current frame rate over the last short while */