summaryrefslogtreecommitdiff
path: root/src/asdcp-unwrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asdcp-unwrap.cpp')
-rwxr-xr-xsrc/asdcp-unwrap.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/asdcp-unwrap.cpp b/src/asdcp-unwrap.cpp
index bddc4ee..65a3ffe 100755
--- a/src/asdcp-unwrap.cpp
+++ b/src/asdcp-unwrap.cpp
@@ -842,6 +842,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);