summaryrefslogtreecommitdiff
path: root/test/audio_analysis_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-20 16:18:24 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-20 16:18:24 +0000
commit3476f2f8251d5800abdd968963cac57b0df8a657 (patch)
treedea2e82b66f7da44387023fe0c662253dfcec777 /test/audio_analysis_test.cc
parentf8e6fdee828647bc5a6a1cc7627052a072a37dc6 (diff)
Allow content factory to return multiple content.
Diffstat (limited to 'test/audio_analysis_test.cc')
-rw-r--r--test/audio_analysis_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc
index 8328c7cd2..ae5fd0834 100644
--- a/test/audio_analysis_test.cc
+++ b/test/audio_analysis_test.cc
@@ -182,7 +182,7 @@ BOOST_AUTO_TEST_CASE (analyse_audio_test4)
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 ();