diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-01 20:08:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-01 20:08:31 +0000 |
| commit | 30e45dd697afc053f2d7be4ee2bc154e5061ad80 (patch) | |
| tree | d8fd278f274098c327be2fd90dff0db5ab72ef61 /src/lib/transcoder.cc | |
| parent | 2eb98168b80792ba21fe31423d50bd28c4f17837 (diff) | |
Untested basic stats for player.
Diffstat (limited to 'src/lib/transcoder.cc')
| -rw-r--r-- | src/lib/transcoder.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc index 1c8f7e3eb..ba4d3b040 100644 --- a/src/lib/transcoder.cc +++ b/src/lib/transcoder.cc @@ -62,7 +62,8 @@ audio_proxy (weak_ptr<Encoder> encoder, shared_ptr<const AudioBuffers> audio) * @param e Encoder to use. */ Transcoder::Transcoder (shared_ptr<const Film> f, shared_ptr<Job> j) - : _player (f->make_player ()) + : _film (f) + , _player (f->make_player ()) , _encoder (new Encoder (f, j)) , _finishing (false) { @@ -78,6 +79,8 @@ Transcoder::go () _finishing = true; _encoder->process_end (); + + _player->statistics().dump (_film->log ()); } float |
