Rename send_binary -> write_to_socket.
[dcpomatic.git] / src / lib / encoder.cc
index 3af80efa51edeab31dd5b0b225e1049297978948..b52507ed1ede219ccd9d6a50e1624c608011c687 100644 (file)
@@ -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, film->playlist(), film->length()))
 {
-       _player->Video.connect (bind (&Encoder::video, this, _1, _2));
-       _player->Audio.connect (bind (&Encoder::audio, this, _1, _2));
-       _player->Subtitle.connect (bind (&Encoder::subtitle, this, _1, _2));
+
 }