summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-21 00:47:16 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-21 00:47:16 +0000
commitf02d4c995a312e7ccf2eac7a2cb71d8e68d77189 (patch)
tree6bd39b4b31b9389f2e26a197a5cd2a31853444b0 /src/lib/audio_decoder.cc
parent41e25589706c23c6766c580f93c569a896f1ed77 (diff)
Still more decode logging.
Diffstat (limited to 'src/lib/audio_decoder.cc')
-rw-r--r--src/lib/audio_decoder.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc
index f26c676b2..fd0835596 100644
--- a/src/lib/audio_decoder.cc
+++ b/src/lib/audio_decoder.cc
@@ -22,6 +22,8 @@
#include "audio_buffers.h"
#include "audio_decoder_stream.h"
#include "audio_content.h"
+#include "log.h"
+#include "compose.hpp"
#include <boost/foreach.hpp>
#include <iostream>
@@ -89,6 +91,7 @@ AudioDecoder::flush ()
void
AudioDecoder::seek (ContentTime t, bool accurate)
{
+ _log->log (String::compose ("AD seek to %1", to_string(t)), LogEntry::TYPE_DEBUG_DECODE);
for (map<AudioStreamPtr, shared_ptr<AudioDecoderStream> >::const_iterator i = _streams.begin(); i != _streams.end(); ++i) {
i->second->seek (t, accurate);
}