diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-08 09:33:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-08 09:33:37 +0000 |
| commit | 5673d7a051662afd129fa409cdbf3adb6119689e (patch) | |
| tree | cc30809dd3f8ea7dc5f9a81e9c03fd010bd71527 /src/lib/transcoder.h | |
| parent | f34e8444dc6134ba8ded85bd547db20b800fd4f2 (diff) | |
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.
Diffstat (limited to 'src/lib/transcoder.h')
| -rw-r--r-- | src/lib/transcoder.h | 6 |
1 files changed, 6 insertions, 0 deletions
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> _job; boost::shared_ptr<Player> _player; boost::shared_ptr<Encoder> _encoder; + bool _finishing; }; |
