diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-11 22:24:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 498806d76160a6b1fa0af58e7734c0f553abf12b (patch) | |
| tree | c5898dca2e84901ea003decb1f3671226d8e53c9 /examples | |
| parent | 7d66bda50ade8ea618f331b885f1bfa4fa0a2af9 (diff) | |
Specify CPL standard on construction.
Then choose which standard DCP should use based on the CPL(s).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make_dcp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<dcp::ReelSoundAsset>(sound_asset, 0)); /* Make a CPL with this reel */ - auto cpl = std::make_shared<dcp::CPL>("My film", dcp::ContentKind::FEATURE); + auto cpl = std::make_shared<dcp::CPL>("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; } |
