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.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/transcoder.cc') 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 f, shared_ptr 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 (); } -- cgit v1.2.3