From 78c27b4fa4d23d4a0a64f0398350ec5697d50551 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 May 2017 16:52:26 +0100 Subject: Slight tidy up of progress stuff in TranscodeJob. --- src/lib/transcoder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/transcoder.h') diff --git a/src/lib/transcoder.h b/src/lib/transcoder.h index 37710d883..413b4d9be 100644 --- a/src/lib/transcoder.h +++ b/src/lib/transcoder.h @@ -41,8 +41,10 @@ public: virtual void go () = 0; - virtual float current_encoding_rate () const = 0; - virtual int video_frames_enqueued () const = 0; + /** @return the current frame rate over the last short while */ + virtual float current_rate () const = 0; + /** @return the number of frames that are done */ + virtual Frame frames_done () const = 0; virtual bool finishing () const = 0; protected: -- cgit v1.2.3