From 7ea686690e5ec6cfd8a73f49e264a2648d2ec8f2 Mon Sep 17 00:00:00 2001 From: mschroffel Date: Thu, 19 May 2016 21:38:17 +0000 Subject: version roll --- src/asdcp-wrap.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/asdcp-wrap.cpp') diff --git a/src/asdcp-wrap.cpp b/src/asdcp-wrap.cpp index 7d730d4..e8bf2f1 100755 --- a/src/asdcp-wrap.cpp +++ b/src/asdcp-wrap.cpp @@ -1151,6 +1151,11 @@ write_PCM_with_ATMOS_sync_file(CommandOptions& Options) // set up MXF writer if ( ASDCP_SUCCESS(result) ) { + if ( Mixer.ChannelCount() % 2 != 0 ) + { + result = Mixer.AppendSilenceChannels(1); + } + Mixer.FillAudioDescriptor(ADesc); ADesc.EditRate = PictureRate; -- cgit v1.2.3