Another test fix.
authorCarl Hetherington <cth@carlh.net>
Wed, 11 May 2016 07:46:39 +0000 (08:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 May 2016 10:50:29 +0000 (11:50 +0100)
test/ffmpeg_pts_offset_test.cc

index db9e751d5523e51b53bc68c31989fad0fc9a024e..a10e505dd0796946c46107dfd4c498276f3396dd 100644 (file)
@@ -35,6 +35,10 @@ BOOST_AUTO_TEST_CASE (ffmpeg_pts_offset_test)
 {
        shared_ptr<Film> film = new_test_film ("ffmpeg_pts_offset_test");
        shared_ptr<FFmpegContent> content (new FFmpegContent (film, "test/data/test.mp4"));
+       film->examine_and_add_content (content);
+       wait_for_jobs ();
+
+       content->audio.reset (new AudioContent (content.get(), film));
        content->audio->add_stream (shared_ptr<FFmpegAudioStream> (new FFmpegAudioStream));
        content->_video_frame_rate = 24;