X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fencoder.h;h=792029a9164f0ea4ce30054af0496501e113ea49;hb=f06c5136e7d3cd0a8e1814763c7774859998efe4;hp=27fa0745f928b36ace4196d737ec0bede71fdf8d;hpb=9cb73fbc0fa4643612f01665bc6d9fc430656f32;p=dcpomatic.git diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 27fa0745f..792029a91 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -22,7 +22,7 @@ #define DCPOMATIC_ENCODER_H #include "types.h" -#include "player_caption.h" +#include "player_text.h" #include #include @@ -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 current_rate () const { + return boost::optional(); + } + /** @return the number of frames that are done */ virtual Frame frames_done () const = 0; virtual bool finishing () const = 0;