From bd8fa9a370f1739952c83107352baa08c79d095e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Oct 2012 18:14:10 +0100 Subject: Merge FilmState / Film. --- src/lib/encoder.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/lib/encoder.h') 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 } -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 s, boost::shared_ptr o, Log* l); + Encoder (boost::shared_ptr f, boost::shared_ptr 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 _fs; + /** Film that we are encoding */ + boost::shared_ptr _film; /** Options */ boost::shared_ptr _opt; - /** Log */ - Log* _log; /** Mutex for _time_history, _just_skipped and _last_frame */ mutable boost::mutex _history_mutex; -- cgit v1.2.3