diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-06 23:25:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-06 23:25:15 +0000 |
| commit | 4de9464d7547954bcc74d4c1337c202dc50f588a (patch) | |
| tree | 7dd8f422244ac6b72850ede92fa56a9a7da70b49 /src/lib | |
| parent | 7a9a8229b57139ece3f9848910087310c06169c7 (diff) | |
Hopefully fix thinko.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/matcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/matcher.cc b/src/lib/matcher.cc index fbd3e3e76..b2bef0269 100644 --- a/src/lib/matcher.cc +++ b/src/lib/matcher.cc @@ -96,7 +96,7 @@ Matcher::process_audio (boost::shared_ptr<AudioBuffers> b, double t) if (_video_frames == 0) { /* No video yet; we must postpone these data until we have some */ _pending_audio.push_back (AudioRecord (b, t)); - } else if (_video_frames > 0 && _pending_audio.empty ()) { + } else if (_video_frames > 0 && _audio_frames == 0) { /* First audio since we got video */ _pending_audio.push_back (AudioRecord (b, t)); fix_start (); |
