Barely-functioning GL playback with new arrangement.
[dcpomatic.git] / src / lib / encoder.h
index 27fa0745f928b36ace4196d737ec0bede71fdf8d..792029a9164f0ea4ce30054af0496501e113ea49 100644 (file)
@@ -22,7 +22,7 @@
 #define DCPOMATIC_ENCODER_H
 
 #include "types.h"
-#include "player_caption.h"
+#include "player_text.h"
 #include <boost/weak_ptr.hpp>
 #include <boost/signals2.hpp>
 
@@ -43,7 +43,10 @@ public:
        virtual void go () = 0;
 
        /** @return the current frame rate over the last short while */
-       virtual float current_rate () const = 0;
+       virtual boost::optional<float> current_rate () const {
+               return boost::optional<float>();
+       }
+
        /** @return the number of frames that are done */
        virtual Frame frames_done () const = 0;
        virtual bool finishing () const = 0;