diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-01 22:40:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-01 22:40:09 +0100 |
| commit | e1e7827d75df6ea11b6bfd2aabd3eb3fb1f2e701 (patch) | |
| tree | 2770556b7584905023f5ff7c7de2028c1b9c279f /src/lib/decoder.cc | |
| parent | 11307dfbddc463592f65cb0d24131bf5206c3617 (diff) | |
Some more debug logging.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 2 |
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; } |
