From 5673d7a051662afd129fa409cdbf3adb6119689e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 8 Nov 2013 09:33:37 +0000 Subject: Don't display frames per second during digest calculation; clear job sub-name on completion; print job name more nicely when there is no sub name. --- src/lib/transcoder.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/transcoder.h') diff --git a/src/lib/transcoder.h b/src/lib/transcoder.h index 9c0de29bf..b1183b0bb 100644 --- a/src/lib/transcoder.h +++ b/src/lib/transcoder.h @@ -40,9 +40,15 @@ public: float current_encoding_rate () const; int video_frames_out () const; + /** @return true if we are in the process of calling Encoder::process_end */ + bool finishing () const { + return _finishing; + } + private: /** A Job that is running this Transcoder, or 0 */ boost::shared_ptr _job; boost::shared_ptr _player; boost::shared_ptr _encoder; + bool _finishing; }; -- cgit v1.2.3