diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-12 17:33:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-12 17:33:39 +0100 |
| commit | fe474571eda2ef0eed219d32a9e517512faec52a (patch) | |
| tree | 9e1f85afc6c2da23abc33f2370574427f03ba99c /examples | |
| parent | 76ff8c70a265bee005114d242f8b4212e0b931c3 (diff) | |
Add missing initialisation calls to example.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/read_dcp.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc index 1601ffce..b8dd7dd9 100644 --- a/examples/read_dcp.cc +++ b/examples/read_dcp.cc @@ -51,6 +51,10 @@ LIBDCP_ENABLE_WARNINGS int main () { + /* Unless libdcp has been installed, you need to pass a path containing the "tags" folder here */ + dcp::init(boost::filesystem::path(".")); + Magick::InitializeMagick(nullptr); + /* Create a DCP, specifying where our existing data is */ dcp::DCP dcp ("/home/carl/Test_DCP"); /* Read the DCP to find out about it */ |
