From 498806d76160a6b1fa0af58e7734c0f553abf12b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 11 Apr 2021 22:24:44 +0200 Subject: Specify CPL standard on construction. Then choose which standard DCP should use based on the CPL(s). --- examples/make_dcp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc index dbd95a52..bbe29545 100644 --- a/examples/make_dcp.cc +++ b/examples/make_dcp.cc @@ -101,13 +101,13 @@ main () reel->add(std::make_shared(sound_asset, 0)); /* Make a CPL with this reel */ - auto cpl = std::make_shared("My film", dcp::ContentKind::FEATURE); + auto cpl = std::make_shared("My film", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE); cpl->add(reel); /* Write the DCP */ dcp::DCP dcp ("DCP"); dcp.add (cpl); - dcp.write_xml (dcp::Standard::SMPTE); + dcp.write_xml (); return 0; } -- cgit v1.2.3