summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-09 16:52:26 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-09 16:52:26 +0100
commit78c27b4fa4d23d4a0a64f0398350ec5697d50551 (patch)
tree56c5b733d812745eeadf767a4fd68d8e470c5a9c /src/lib/transcoder.h
parent6a11232620e0006f6a2b1e8d2b56e56d84229d5c (diff)
Slight tidy up of progress stuff in TranscodeJob.
Diffstat (limited to 'src/lib/transcoder.h')
-rw-r--r--src/lib/transcoder.h6
1 files changed, 4 insertions, 2 deletions
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: