#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>
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);
}
}
void
-SubtitleDecoder::seek (ContentTime, bool)
+SubtitleDecoder::seek (ContentTime t, bool)
{
+ _log->log (String::compose ("SD seek to %1", to_string(t)), LogEntry::TYPE_DEBUG_DECODE);
reset ();
}
void
VideoDecoder::seek (ContentTime s, bool accurate)
{
+ _log->log (String::compose ("VD seek to %1", to_string(s)), LogEntry::TYPE_DEBUG_DECODE);
_decoded.clear ();
_last_seek_time = s;
_last_seek_accurate = accurate;