Don't say we're encoding at 0fps when we're waiting for the timing history to stablise.
[dcpomatic.git] / src / lib / j2k_encoder.h
index 01cf0605e0c1692e113d07fc8fef59c952f840ef..b723ca88f7afe2211364f25b817360ec639d4872 100644 (file)
@@ -68,7 +68,7 @@ public:
        /** Called when a processing run has finished */
        void end ();
 
-       float current_encoding_rate () const;
+       boost::optional<float> current_encoding_rate () const;
        int video_frames_enqueued () const;
 
        void servers_list_changed ();