From 20e3e4c2a7a91e45740987a702f5d4c1ea2f9030 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 Mar 2023 14:11:34 +0100 Subject: Use an enum instead of a bool in PictureAsset::start_write(). --- examples/make_dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc index 60f5608a..a99d4ef0 100644 --- a/examples/make_dcp.cc +++ b/examples/make_dcp.cc @@ -59,7 +59,7 @@ main () auto picture_asset = std::make_shared(dcp::Fraction(24, 1), dcp::Standard::SMPTE); /* Start off a write to it */ - auto picture_writer = picture_asset->start_write("DCP/picture.mxf", false); + auto picture_writer = picture_asset->start_write("DCP/picture.mxf", dcp::PictureAsset::Behaviour::MAKE_NEW); /* Write 24 frames of the same JPEG2000 file */ dcp::ArrayData picture("examples/help.j2c"); -- cgit v1.2.3