diff options
| author | jhurst <jhurst@cinecert.com> | 2018-03-25 22:54:20 +0000 |
|---|---|---|
| committer | jhurst <> | 2018-03-25 22:54:20 +0000 |
| commit | ffc88e36d1b15a863bad6577dee7d59254edfa22 (patch) | |
| tree | f46ee12919d9eb6690815eb01f48e3fae73ddfbb /src/as-02-wrap.cpp | |
| parent | 40ecb821a29d1049e0a69149b20e552c7fbb0ae0 (diff) | |
o Fixed MinorVersion error (was "2", is now "3") when writing BodyPartition packs preceding partitions in AS-02 files.
o Fixed AS-DCP timed text writer, was creating DM Segment instead of SourceClip in the source package.
o Changed SourcePackage timecode track start to 00:00:00:00 (was 01:00:00:00)
o Fixed reference counting errors in asdcp.MXFWriter and asdcp.TimedTextWriter that were causing asdcp.MXFReader and asdcp.TimedTextReader (respectively) to remain allocated after all references had been deleted, thus leaking file handles and memory.
o Fixed broken arg parser (missing format token in format string for "EssenceType" argument) in TimedTextWriter
Diffstat (limited to 'src/as-02-wrap.cpp')
| -rwxr-xr-x | src/as-02-wrap.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/as-02-wrap.cpp b/src/as-02-wrap.cpp index 8a32d71..49b552f 100755 --- a/src/as-02-wrap.cpp +++ b/src/as-02-wrap.cpp @@ -707,7 +707,7 @@ public: } } - if ( help_flag || version_flag ) + if ( help_flag || version_flag || show_ul_values_flag ) return; if ( filenames.size() < 2 ) @@ -1110,8 +1110,7 @@ write_timed_text_file(CommandOptions& Options) Kumu::FortunaRNG RNG; // set up essence parser - Result_t result = Parser.OpenRead(Options.filenames.front().c_str(), - Options.profile_name); + Result_t result = Parser.OpenRead(Options.filenames.front()); // set up MXF writer if ( ASDCP_SUCCESS(result) ) @@ -1121,6 +1120,11 @@ write_timed_text_file(CommandOptions& Options) TDesc.ContainerDuration = Options.duration; FrameBuffer.Capacity(Options.fb_size); + if ( ! Options.profile_name.empty() ) + { + TDesc.NamespaceName = Options.profile_name; + } + if ( Options.verbose_flag ) { fputs("IMF Timed-Text Descriptor:\n", stderr); |
