Clarify log levels a touch and add a debug message.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 5f7e0d1c7b1bf6ffb007abbe3814d2e833adf106..49e03b1cebe6c15e12614603ed59340a72f6f058 100644 (file)
@@ -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;
                        }