Fix more incorrect logic.
authorCarl Hetherington <cth@carlh.net>
Tue, 7 May 2013 09:21:12 +0000 (10:21 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 May 2013 09:21:12 +0000 (10:21 +0100)
src/lib/matcher.cc

index 2723f2a2d360c71807795e1e83b33ba840e6a131..f8d5c5fcd7b90841940641861ba4f8caa092b6fa 100644 (file)
@@ -104,7 +104,7 @@ Matcher::process_audio (boost::shared_ptr<const AudioBuffers> b, double t)
                _first_input = t;
        }
 
-       bool const this_is_first_audio = _had_first_audio;
+       bool const this_is_first_audio = !_had_first_audio;
        _had_first_audio = true;
        
        if (!_had_first_video) {