diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-24 11:29:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-24 11:29:47 +0100 |
| commit | bf74ec274bc0bb30a05888d86b685f5199487004 (patch) | |
| tree | f93f741c133ac7a9ffbd09d6f1d928196d0256fe | |
| parent | 2fa6a712ba7e07eefab5df62a9c00214cd3c4f14 (diff) | |
debugdbg
| -rw-r--r-- | cscript | 2 | ||||
| -rw-r--r-- | src/asset_factory.cc | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -38,7 +38,7 @@ def dependencies(target, options): deps = [ ('libcxml', 'v0.17.11', options), ('openjpeg', 'ad8edaacd54a862940d0a77c41ecda5858b54d6e'), - ('asdcplib', 'v1.0.3') + ('asdcplib', 'da31623ce00fda1a1b0a5ecee223b42e76363ce1') ] if target.platform == 'linux': diff --git a/src/asset_factory.cc b/src/asset_factory.cc index 652e1e31..fa29b3de 100644 --- a/src/asset_factory.cc +++ b/src/asset_factory.cc @@ -63,7 +63,8 @@ dcp::asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_ ASDCP::EssenceType_t type; Kumu::FileReaderFactory factory; - auto const result = ASDCP::EssenceType(dcp::filesystem::fix_long_path(path).string().c_str(), type, factory); + std::cout << "path " << path << " converted " << dcp::filesystem::fix_long_path(path).string() << "\n"; + auto const result = ASDCP::EssenceType(dcp::filesystem::fix_long_path(path).string(), type, factory); if (!ASDCP_SUCCESS(result)) { throw ReadError(String::compose("Could not find essence type (%1)", result.Message()), path.string()); } |
