summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-08 12:47:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-08 12:47:51 +0000
commit748995a13c2a6758ef867b2b78b945342768bae7 (patch)
tree4bb40a3f4ec28209953b97d194a3993a9bc596f6 /src/lib/encoder.h
parentbfd87f274b440b3c10bde8e6cdc45bedbadd9a9b (diff)
Rename some things.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 8b02f7004..69a5c5a23 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -21,7 +21,7 @@
#define DVDOMATIC_ENCODER_H
/** @file src/encoder.h
- * @brief Parent class for classes which can encode video and audio frames.
+ * @brief Encoder to J2K and WAV for DCP.
*/
#include <boost/shared_ptr.hpp>
@@ -91,7 +91,7 @@ private:
void write_audio (boost::shared_ptr<const AudioBuffers> audio);
void encoder_thread (ServerDescription *);
- void terminate_worker_threads ();
+ void terminate_threads ();
/** Film that we are encoding */
boost::shared_ptr<Film> _film;
@@ -115,11 +115,11 @@ private:
#endif
bool _have_a_real_frame;
- bool _terminate_encoder;
- std::list<boost::shared_ptr<DCPVideoFrame> > _encode_queue;
- std::list<boost::thread *> _worker_threads;
- mutable boost::mutex _worker_mutex;
- boost::condition _worker_condition;
+ bool _terminate;
+ std::list<boost::shared_ptr<DCPVideoFrame> > _queue;
+ std::list<boost::thread *> _threads;
+ mutable boost::mutex _mutex;
+ boost::condition _condition;
boost::shared_ptr<Writer> _writer;
};