diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-06 01:01:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-13 22:29:01 +0000 |
| commit | 0e29e68e94daade47167ac5bc6b51362ef02b5c3 (patch) | |
| tree | accedb6af7c7763086af8abf108655791fce439d /test/round_trip_test.cc | |
| parent | 92d04684c81baa6c56ff3299f1cffd1ac787c71f (diff) | |
Store interop/SMPTE in MXF.
Diffstat (limited to 'test/round_trip_test.cc')
| -rw-r--r-- | test/round_trip_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc index 505477a3..567d3aa4 100644 --- a/test/round_trip_test.cc +++ b/test/round_trip_test.cc @@ -53,8 +53,8 @@ BOOST_AUTO_TEST_CASE (round_trip_test) boost::filesystem::path work_dir = "build/test/round_trip_test"; boost::filesystem::create_directory (work_dir); - shared_ptr<dcp::MonoPictureAsset> asset_A (new dcp::MonoPictureAsset (dcp::Fraction (24, 1))); - shared_ptr<dcp::PictureAssetWriter> writer = asset_A->start_write (work_dir / "video.mxf", dcp::SMPTE, false); + shared_ptr<dcp::MonoPictureAsset> asset_A (new dcp::MonoPictureAsset (dcp::Fraction (24, 1), dcp::SMPTE)); + shared_ptr<dcp::PictureAssetWriter> writer = asset_A->start_write (work_dir / "video.mxf", false); dcp::File j2c ("test/data/32x32_red_square.j2c"); for (int i = 0; i < 24; ++i) { writer->write (j2c.data (), j2c.size ()); |
