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 f063315..d51c944 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) {