summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-08 09:33:37 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-08 09:33:37 +0000
commit5673d7a051662afd129fa409cdbf3adb6119689e (patch)
treecc30809dd3f8ea7dc5f9a81e9c03fd010bd71527 /src/lib/transcoder.cc
parentf34e8444dc6134ba8ded85bd547db20b800fd4f2 (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.cc')
-rw-r--r--src/lib/transcoder.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc
index 717f28556..24f22a9cb 100644
--- a/src/lib/transcoder.cc
+++ b/src/lib/transcoder.cc
@@ -66,6 +66,7 @@ Transcoder::Transcoder (shared_ptr<const Film> f, shared_ptr<Job> j)
: _job (j)
, _player (f->make_player ())
, _encoder (new Encoder (f, j))
+ , _finishing (false)
{
_player->Video.connect (bind (video_proxy, _encoder, _1, _2, _3, _4));
_player->Audio.connect (bind (audio_proxy, _encoder, _1));
@@ -76,6 +77,8 @@ Transcoder::go ()
{
_encoder->process_begin ();
while (!_player->pass ()) {}
+
+ _finishing = true;
_encoder->process_end ();
}