Merge master.
[dcpomatic.git] / src / lib / transcoder.h
index 3c47b0c7ea421f61067d5e06b3a8af4b5fb0534b..ecc8ebf629a2b245a4c9b0ae22862aebed3fe96b 100644 (file)
@@ -23,8 +23,6 @@
  *  as a parameter to the constructor.
  */
 
-#include "decoder_factory.h"
-
 class Film;
 class Job;
 class Encoder;
@@ -32,7 +30,7 @@ class Matcher;
 class VideoFilter;
 class Gain;
 class DelayLine;
-class Playlist;
+class Player;
 
 /** @class Transcoder
  *
@@ -49,10 +47,13 @@ public:
 
        void go ();
 
+       float current_encoding_rate () const;
+       int video_frames_out () const;
+
 protected:
        /** A Job that is running this Transcoder, or 0 */
        boost::shared_ptr<Job> _job;
-       boost::shared_ptr<Playlist> _playlist;
+       boost::shared_ptr<Player> _player;
        boost::shared_ptr<Encoder> _encoder;
        boost::shared_ptr<Matcher> _matcher;
        boost::shared_ptr<DelayLine> _delay_line;