diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-24 18:14:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-24 18:14:10 +0100 |
| commit | bd8fa9a370f1739952c83107352baa08c79d095e (patch) | |
| tree | dafa3dae2db5439dc08e770fc4b09febac5f0374 /src/lib/encoder_factory.cc | |
| parent | 44b57d623dec97a3f9955082f0b8a7a8d27b7518 (diff) | |
Merge FilmState / Film.
Diffstat (limited to 'src/lib/encoder_factory.cc')
| -rw-r--r-- | src/lib/encoder_factory.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/encoder_factory.cc b/src/lib/encoder_factory.cc index d16150fa6..df45535cf 100644 --- a/src/lib/encoder_factory.cc +++ b/src/lib/encoder_factory.cc @@ -24,17 +24,17 @@ #include <boost/filesystem.hpp> #include "j2k_wav_encoder.h" #include "j2k_still_encoder.h" -#include "film_state.h" +#include "film.h" using namespace std; using namespace boost; shared_ptr<Encoder> -encoder_factory (shared_ptr<const FilmState> fs, shared_ptr<const Options> o, Log* l) +encoder_factory (shared_ptr<const Film> f, shared_ptr<const Options> o) { - if (!filesystem::is_directory (fs->content_path()) && fs->content_type() == STILL) { - return shared_ptr<Encoder> (new J2KStillEncoder (fs, o, l)); + if (!filesystem::is_directory (f->content_path()) && f->content_type() == STILL) { + return shared_ptr<Encoder> (new J2KStillEncoder (f, o)); } - return shared_ptr<Encoder> (new J2KWAVEncoder (fs, o, l)); + return shared_ptr<Encoder> (new J2KWAVEncoder (f, o)); } |
