Merge master; fix crash on new film.
[dcpomatic.git] / src / lib / ab_transcoder.h
index 090c26fb7e6b0e7b5693ee9266a3e012feef7816..1fef66b8870a3ae72de2d8a645e056d656239350 100644 (file)
@@ -25,7 +25,6 @@
 #include <boost/shared_ptr.hpp>
 #include <stdint.h>
 #include "util.h"
-#include "decoder_factory.h"
 
 class Job;
 class Encoder;
@@ -36,7 +35,8 @@ class Matcher;
 class DelayLine;
 class Gain;
 class Combiner;
-class Playlist;
+class Player;
+class Trimmer;
 
 /** @class ABTranscoder
  *  @brief A transcoder which uses one Film for the left half of the screen, and a different one
@@ -56,13 +56,14 @@ public:
 private:
        boost::shared_ptr<Film> _film_a;
        boost::shared_ptr<Film> _film_b;
-       boost::shared_ptr<Playlist> _playlist_a;
-       boost::shared_ptr<Playlist> _playlist_b;
+       boost::shared_ptr<Player> _player_a;
+       boost::shared_ptr<Player> _player_b;
        boost::shared_ptr<Job> _job;
        boost::shared_ptr<Encoder> _encoder;
        boost::shared_ptr<Combiner> _combiner;
        boost::shared_ptr<Matcher> _matcher;
        boost::shared_ptr<DelayLine> _delay_line;
        boost::shared_ptr<Gain> _gain;
+       boost::shared_ptr<Trimmer> _trimmer;
        boost::shared_ptr<Image> _image;
 };