X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fencoder.h;h=792029a9164f0ea4ce30054af0496501e113ea49;hb=2cdf3d9f461b12d0925cc54368105bbd177bbbb3;hp=f4116c50c5888172dc3191e79562979fa7178054;hpb=ae95d9cab28e414245e15ddeae20e96735594a8b;p=dcpomatic.git diff --git a/src/lib/encoder.h b/src/lib/encoder.h index f4116c50c..792029a91 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -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;