summaryrefslogtreecommitdiff
path: root/src/lib/decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder.cc')
-rw-r--r--src/lib/decoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 973582ca4..19fd4f45c 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -23,6 +23,7 @@
#include <iostream>
#include <stdint.h>
+#include <boost/lexical_cast.hpp>
extern "C" {
#include <libavfilter/avfiltergraph.h>
#include <libavfilter/buffersrc.h>
@@ -409,6 +410,7 @@ Decoder::process_video (AVFrame* frame)
image->make_black ();
}
+ _log->microsecond_log ("Decoder emits " + lexical_cast<string> (_video_frame), Log::TIMING);
Video (image, _video_frame);
++_video_frame;
}