std::shared_ptr
[dcpomatic.git] / src / lib / encoder.cc
index 16d9923141080fc42bc0aacbcee039e6e1585db2..fd826deb6666320ee33be0d0f6591cef9b0b5b10 100644 (file)
@@ -31,8 +31,8 @@
 
 #include "i18n.h"
 
-using boost::weak_ptr;
-using boost::shared_ptr;
+using std::weak_ptr;
+using std::shared_ptr;
 
 /** Construct an encoder.
  *  @param film Film that we are encoding.
@@ -41,9 +41,7 @@ using boost::shared_ptr;
 Encoder::Encoder (shared_ptr<const Film> film, weak_ptr<Job> job)
        : _film (film)
        , _job (job)
-       , _player (new Player (film, film->playlist ()))
+       , _player (new Player(film))
 {
-       _player_video_connection = _player->Video.connect (bind (&Encoder::video, this, _1, _2));
-       _player_audio_connection = _player->Audio.connect (bind (&Encoder::audio, this, _1, _2));
-       _player_subtitle_connection = _player->Subtitle.connect (bind (&Encoder::subtitle, this, _1, _2));
+
 }