summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-24 18:14:10 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-24 18:14:10 +0100
commitbd8fa9a370f1739952c83107352baa08c79d095e (patch)
treedafa3dae2db5439dc08e770fc4b09febac5f0374 /src/lib/encoder.h
parent44b57d623dec97a3f9955082f0b8a7a8d27b7518 (diff)
Merge FilmState / Film.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 561e41901..4d741a92b 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -32,12 +32,11 @@ extern "C" {
#include <libavutil/samplefmt.h>
}
-class FilmState;
class Options;
class Image;
-class Log;
class Subtitle;
class AudioBuffers;
+class Film;
/** @class Encoder
* @brief Parent class for classes which can encode video and audio frames.
@@ -52,7 +51,7 @@ class AudioBuffers;
class Encoder
{
public:
- Encoder (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l);
+ Encoder (boost::shared_ptr<const Film> f, boost::shared_ptr<const Options> o);
/** Called to indicate that a processing run is about to begin */
virtual void process_begin (int64_t audio_channel_layout) = 0;
@@ -81,12 +80,10 @@ protected:
void frame_done (int n);
void frame_skipped ();
- /** FilmState of the film that we are encoding */
- boost::shared_ptr<const FilmState> _fs;
+ /** Film that we are encoding */
+ boost::shared_ptr<const Film> _film;
/** Options */
boost::shared_ptr<const Options> _opt;
- /** Log */
- Log* _log;
/** Mutex for _time_history, _just_skipped and _last_frame */
mutable boost::mutex _history_mutex;