summaryrefslogtreecommitdiff
path: root/src/lib/matcher.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-07 09:48:47 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-07 09:48:47 +0100
commitaf671aa256ae0d2fa38a6740cea7fc0f6b45b5b8 (patch)
treefeb0daef138128f8f5f1a919a4134bba017f6381 /src/lib/matcher.cc
parent6e5c4e570f26e05124ab0ef67e39c07bab9cb4d5 (diff)
Fix typo preventing audio sync fixes when audio follows video.
Diffstat (limited to 'src/lib/matcher.cc')
-rw-r--r--src/lib/matcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/matcher.cc b/src/lib/matcher.cc
index 9924c003a..2723f2a2d 100644
--- a/src/lib/matcher.cc
+++ b/src/lib/matcher.cc
@@ -110,7 +110,7 @@ Matcher::process_audio (boost::shared_ptr<const AudioBuffers> b, double t)
if (!_had_first_video) {
/* No video yet; we must postpone these data until we have some */
_pending_audio.push_back (AudioRecord (b, t));
- } else if (this_is_first_audio && !_had_first_video) {
+ } else if (this_is_first_audio && _had_first_video) {
/* First audio since we got video */
_pending_audio.push_back (AudioRecord (b, t));
fix_start (_first_input.get ());