Tidy up assertion.
authorCarl Hetherington <cth@carlh.net>
Thu, 5 Apr 2018 01:26:26 +0000 (02:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 5 Apr 2018 01:26:26 +0000 (02:26 +0100)
src/lib/shuffler.cc

index 0ec4daf5ad654bab9a1c8ef17f17eddfca96bb49..889d81c71397967c78e19839cc54967ec12d1a49 100644 (file)
@@ -43,7 +43,7 @@ void
 Shuffler::video (weak_ptr<Piece> weak_piece, ContentVideo video)
 {
        /* Something has gong wrong if our store gets too big */
-       DCPOMATIC_ASSERT (_store.size() != 8);
+       DCPOMATIC_ASSERT (_store.size() < 8);
        /* We should only ever see 3D_LEFT / 3D_RIGHT */
        DCPOMATIC_ASSERT (video.eyes == EYES_LEFT || video.eyes == EYES_RIGHT);