Fix infinite loop with referenced audio.
authorCarl Hetherington <cth@carlh.net>
Thu, 18 May 2017 23:15:07 +0000 (00:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 18 May 2017 23:15:07 +0000 (00:15 +0100)
src/lib/player.cc

index f0633151dd68affa17047e1cb9c0668e16aec473..d51c944009c900a1b354730814e5b6787bae9b89 100644 (file)
@@ -574,8 +574,8 @@ Player::pass ()
                list<DCPTimePeriod> p = subtract(period, _no_audio);
                if (!p.empty ()) {
                        fill_audio (p.front());
+                       filled = true;
                }
-               filled = true;
        }
 
        if (earliest) {