summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index 3891db3f..0d6a8215 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -26,11 +26,13 @@
/* If you are using an installed libdcp, these #includes would need to be changed to
#include <libdcp/dcp.h>
+#include <libdcp/cpl.h>
#include <libdcp/picture_asset.h>
... etc. ...
*/
#include "dcp.h"
+#include "cpl.h"
#include "picture_asset.h"
#include "sound_asset.h"
#include "reel.h"
@@ -106,7 +108,8 @@ main ()
/* Finally, we call this to write the XML description files to the DCP. After this, the DCP
is ready to ingest and play.
*/
- dcp.write_xml ();
+ libdcp::XMLMetadata metadata;
+ dcp.write_xml (metadata);
return 0;
}