summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-06 11:51:24 +0100
committerCarl Hetherington <cth@carlh.net>2024-04-18 12:11:43 +0200
commit6801a43a489b3e55ab062b0db46e0e03d20e9bcb (patch)
treef46d8a54dc00852d015d59c7b7a37e1654381dae /examples
parentc7de16512dad5f4a1e9c1acdaddfc300e428ed3e (diff)
Move Behaviour enum out of J2KPictureAsset.
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index b5663a99..80e5f52b 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -59,7 +59,7 @@ main ()
auto picture_asset = std::make_shared<dcp::MonoJ2KPictureAsset>(dcp::Fraction(24, 1), dcp::Standard::SMPTE);
/* Start off a write to it */
- auto picture_writer = picture_asset->start_write("DCP/picture.mxf", dcp::J2KPictureAsset::Behaviour::MAKE_NEW);
+ auto picture_writer = picture_asset->start_write("DCP/picture.mxf", dcp::Behaviour::MAKE_NEW);
/* Write 24 frames of the same JPEG2000 file */
dcp::ArrayData picture("examples/help.j2c");