X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fencoder.h;h=792029a9164f0ea4ce30054af0496501e113ea49;hb=fa5f3a8bf77209da27acc33cf144e2e4500a2600;hp=4907ed7c5a906f7a3dcc3ca2c31339139fbc9219;hpb=0302594838ce422afb3346ecc91a1bdfd26c00de;p=dcpomatic.git diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 4907ed7c5..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_subtitles.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;