projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3dfeeb
)
A little logging.
author
Carl Hetherington
<cth@carlh.net>
Wed, 6 Mar 2013 14:20:39 +0000
(14:20 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 6 Mar 2013 14:20:39 +0000
(14:20 +0000)
src/lib/matcher.cc
patch
|
blob
|
history
diff --git
a/src/lib/matcher.cc
b/src/lib/matcher.cc
index 2c697157fd33cb2c00545f0395fd95126dcc481d..93531dbc5adc6dd2584fb2d86b3d98bafeefc8d9 100644
(file)
--- a/
src/lib/matcher.cc
+++ b/
src/lib/matcher.cc
@@
-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));
}