summaryrefslogtreecommitdiff
path: root/src/asdcp-test.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2022-08-30 08:52:36 -0700
committerjhurst <jhurst@cinecert.com>2022-08-30 08:52:36 -0700
commit38484def2f2e76e877d29829b10a95ff6feac136 (patch)
tree4be6fec408e8b9e6c43abd6cf9728324e30edabf /src/asdcp-test.cpp
parent585b5cb808eeaf16671772d016722852ed95329e (diff)
Fixed local path translation error when writing anc resource files
Diffstat (limited to 'src/asdcp-test.cpp')
-rwxr-xr-xsrc/asdcp-test.cpp5
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);