summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-06 20:33:12 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-06 20:33:12 +0000
commit1e0f726e313638f7748e72545d0038cfcffde229 (patch)
tree0e87e60a68014c16b5ca0af37dfc93cfb3ab3734 /src/lib/ffmpeg_decoder.cc
parent7561918187d51eadcd59904a71c1eda30cc6ab31 (diff)
Clarify log levels a touch and add a debug message.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index 5f7e0d1c7..49e03b1ce 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -277,6 +277,11 @@ FFmpegDecoder::pass ()
double const source_pts_seconds = av_q2d (_format_context->streams[_packet.stream_index]->time_base)
* av_frame_get_best_effort_timestamp(_frame);
+ _film->log()->log (
+ String::compose ("Source video frame ready; source at %1, output at %2", source_pts_seconds, out_pts_seconds),
+ Log::DEBUG
+ );
+
if (!_first_video) {
_first_video = source_pts_seconds;
}