test/data updates.
[dcpomatic.git] / test / upmixer_a_test.cc
index b115db21bff72fe96a3fcddeafc74ef08cddbf3b..1cd20e219dfadc728c15c3edbf3a3ad6bee565d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -36,8 +36,8 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
+       film->set_audio_processor (AudioProcessor::from_id ("stereo-5.1-upmix-a"));
        shared_ptr<SndfileContent> content (new SndfileContent (film, "test/data/white.wav"));
-       content->set_audio_processor (AudioProcessor::from_id ("stereo-5.1-upmix-a"));
        film->examine_and_add_content (content);
 
        wait_for_jobs ();