Remove seek zero test as I think it's fairly specific to the old code.
[dcpomatic.git] / test / audio_decoder_test.cc
index 273d04344d79b23f7ac449747a8480629cda6e6f..6e92c48dedaabb7f63744fcfe4bd506199b044f3 100644 (file)
@@ -72,7 +72,7 @@ public:
                audio.reset (new AudioDecoder (this, content->audio, log));
        }
 
-       bool pass (PassReason, bool)
+       bool pass ()
        {
                Frame const N = min (
                        Frame (2000),
@@ -94,7 +94,6 @@ public:
 
        void seek (ContentTime t, bool accurate)
        {
-               audio->seek (t, accurate);
                _position = t.frames_round (_test_audio_content->audio->resampled_frame_rate ());
        }
 
@@ -159,7 +158,7 @@ BOOST_AUTO_TEST_CASE (audio_decoder_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
-       shared_ptr<Content> content = content_factory (film, private_data / "20 The Wedding Convoy Song.m4a");
+       shared_ptr<Content> content = content_factory(film, private_data / "20 The Wedding Convoy Song.m4a").front();
        film->examine_and_add_content (content);
        wait_for_jobs ();