diff options
| author | jhurst <jhurst@cinecert.com> | 2022-08-30 08:52:36 -0700 |
|---|---|---|
| committer | jhurst <jhurst@cinecert.com> | 2022-08-30 08:52:36 -0700 |
| commit | 38484def2f2e76e877d29829b10a95ff6feac136 (patch) | |
| tree | 4be6fec408e8b9e6c43abd6cf9728324e30edabf /src/asdcp-test.cpp | |
| parent | 585b5cb808eeaf16671772d016722852ed95329e (diff) | |
Fixed local path translation error when writing anc resource files
Diffstat (limited to 'src/asdcp-test.cpp')
| -rwxr-xr-x | src/asdcp-test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/asdcp-test.cpp b/src/asdcp-test.cpp index 3b25d88..34c8fcf 100755 --- a/src/asdcp-test.cpp +++ b/src/asdcp-test.cpp @@ -1670,6 +1670,11 @@ read_timed_text_file(CommandOptions& Options, const Kumu::IFileReaderFactory& fi result = Writer.Write(reinterpret_cast<const byte_t*>(XMLDoc.c_str()), XMLDoc.size(), &write_count); } + if ( out_path.empty() ) + { + out_path = "."; + } + for ( ri = TDesc.ResourceList.begin() ; ri != TDesc.ResourceList.end() && ASDCP_SUCCESS(result); ri++ ) { result = Reader.ReadAncillaryResource(ri->ResourceID, FrameBuffer, Context, HMAC); |
