A little logging.
authorCarl Hetherington <cth@carlh.net>
Wed, 6 Mar 2013 14:20:39 +0000 (14:20 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 6 Mar 2013 14:20:39 +0000 (14:20 +0000)
src/lib/matcher.cc

index 2c697157fd33cb2c00545f0395fd95126dcc481d..93531dbc5adc6dd2584fb2d86b3d98bafeefc8d9 100644 (file)
@@ -116,6 +116,9 @@ Matcher::process_end ()
                /* We won't do anything */
                return;
        }
+
+       _log->log (String::compose ("Matcher has seen %1 video frames (which equals %2 audio frames) and %3 audio frames",
+                                   _video_frames, video_frames_to_audio_frames (_video_frames, _sample_rate, _frames_per_second), _audio_frames));
        
        match ((double (_audio_frames) / _sample_rate) - (double (_video_frames) / _frames_per_second));
 }