Rename mutex to avoid confusion.
[dcpomatic.git] / test / ffmpeg_decoder_sequential_test.cc
index e4968dedaaaa787e2f35a32605cb48fbc773485f..c5f43173ea57b55ada9eb972c2da0cdd8845a008 100644 (file)
@@ -47,7 +47,7 @@ test (boost::filesystem::path file, float fps, int gaps)
 
        shared_ptr<Film> film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
        shared_ptr<FFmpegContent> content (new FFmpegContent (film, path)); 
-       film->examine_and_add_content (content, true);
+       film->examine_and_add_content (content);
        wait_for_jobs ();
        shared_ptr<Log> log (new NullLog);
        FFmpegDecoder decoder (content, log);
@@ -61,7 +61,7 @@ test (boost::filesystem::path file, float fps, int gaps)
        for (VideoFrame i = 0; i < N; ++i) {
                list<ContentVideo> v;
                v = decoder.get_video (i, true);
-               BOOST_CHECK (v.size() == 1);
+               BOOST_CHECK_EQUAL (v.size(), 1);
                BOOST_CHECK_EQUAL (v.front().frame, i);
        }
 #ifdef DCPOMATIC_DEBUG