summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/transcoder.h')
-rw-r--r--src/lib/transcoder.h6
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;
};