summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormschroffel <mschroffel@cinecert.com>2014-10-02 21:41:12 +0000
committermschroffel <>2014-10-02 21:41:12 +0000
commit898f6b473a314dd379fd132a656c568c2e74da0a (patch)
tree5f4752aad840dd11289a57e10815e70fe58cd706 /src
parent80490136d3f872d162670e616827033fdd1be09d (diff)
version bump
Diffstat (limited to 'src')
-rwxr-xr-xsrc/AS_DCP_PCM.cpp2
-rw-r--r--src/MDD.cpp2
-rwxr-xr-xsrc/as-02-unwrap.cpp8
-rwxr-xr-xsrc/as-02-wrap.cpp2
4 files changed, 8 insertions, 6 deletions
diff --git a/src/AS_DCP_PCM.cpp b/src/AS_DCP_PCM.cpp
index 9de8d53..d905814 100755
--- a/src/AS_DCP_PCM.cpp
+++ b/src/AS_DCP_PCM.cpp
@@ -170,7 +170,7 @@ ASDCP::PCM::operator << (std::ostream& strm, const AudioDescriptor& ADesc)
break;
case CF_CFG_6:
- strm << "Config 6 (ST 377-1 MCA)";
+ strm << "Config 6 (ST 377-4 MCA)";
break;
}
strm << std::endl;
diff --git a/src/MDD.cpp b/src/MDD.cpp
index f3e8fc6..2f9604d 100644
--- a/src/MDD.cpp
+++ b/src/MDD.cpp
@@ -1119,7 +1119,7 @@ static const ASDCP::MDDEntry s_MDD_Table[] = {
0x04, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00, 0x00 },
{0}, false, "WaveAudioDescriptor_ReferenceImageEditRate" },
{ { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x0e, // 361
- 0x04, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00, 0x00 },
+ 0x04, 0x02, 0x01, 0x01, 0x07, 0x00, 0x00, 0x00 },
{0}, false, "WaveAudioDescriptor_ReferenceAudioAlignmentLevel" },
{ { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x0e, // 362
0x04, 0x01, 0x03, 0x02, 0x0b, 0x00, 0x00, 0x00 },
diff --git a/src/as-02-unwrap.cpp b/src/as-02-unwrap.cpp
index b8f69a0..c6ba96b 100755
--- a/src/as-02-unwrap.cpp
+++ b/src/as-02-unwrap.cpp
@@ -376,7 +376,7 @@ read_JP2K_file(CommandOptions& Options)
{
result = Reader.ReadFrame(i, FrameBuffer, Context, HMAC);
- if ( ASDCP_SUCCESS(result) )
+ if ( ASDCP_SUCCESS(result) && ( ! Options.no_write_flag ) )
{
Kumu::FileWriter OutFile;
char filename[256];
@@ -387,8 +387,10 @@ read_JP2K_file(CommandOptions& Options)
if ( ASDCP_SUCCESS(result) )
result = OutFile.Write(FrameBuffer.Data(), FrameBuffer.Size(), &write_count);
- if ( Options.verbose_flag )
- FrameBuffer.Dump(stderr, Options.fb_dump_size);
+ if ( ASDCP_SUCCESS(result) && Options.verbose_flag )
+ {
+ FrameBuffer.Dump(stderr, Options.fb_dump_size);
+ }
}
}
diff --git a/src/as-02-wrap.cpp b/src/as-02-wrap.cpp
index 66aacd0..8aac348 100755
--- a/src/as-02-wrap.cpp
+++ b/src/as-02-wrap.cpp
@@ -698,7 +698,7 @@ write_PCM_file(CommandOptions& Options)
}
// this is the d-cinema MCA label, what is the one for IMF?
- essence_descriptor->ChannelAssignment = g_dict->ul(MDD_DCAudioChannelCfg_MCA);
+ essence_descriptor->ChannelAssignment = g_dict->ul(MDD_IMFAudioChannelCfg_MCA);
}
}