Support MCA sound channel tags in MXF/CPL.
[libdcp.git] / test / encryption_test.cc
index c452c07bc3df71f60078abe4b9749b13b30d068c..2793e8adbbf2d791f28a882a960de2b78cde8dbe 100644 (file)
@@ -98,10 +98,10 @@ BOOST_AUTO_TEST_CASE (encryption_test)
        }
        writer->finalize ();
 
-       shared_ptr<dcp::SoundAsset> ms (new dcp::SoundAsset (dcp::Fraction (24, 1), 48000, 1, dcp::SMPTE));
+       shared_ptr<dcp::SoundAsset> ms (new dcp::SoundAsset (dcp::Fraction (24, 1), 48000, 1, dcp::LanguageTag("en-GB"), dcp::SMPTE));
        ms->set_metadata (mxf_metadata);
        ms->set_key (key);
-       shared_ptr<dcp::SoundAssetWriter> sound_writer = ms->start_write ("build/test/DCP/encryption_test/audio.mxf");
+       shared_ptr<dcp::SoundAssetWriter> sound_writer = ms->start_write ("build/test/DCP/encryption_test/audio.mxf", vector<dcp::Channel>());
 
        SF_INFO info;
        info.format = 0;