projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4308252
)
Check channel count when comparing audio MXFs.
author
Carl Hetherington
<cth@carlh.net>
Sat, 29 Jul 2023 00:27:02 +0000
(
02:27
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 29 Jul 2023 00:27:02 +0000
(
02:27
+0200)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index dae02610014f72a75e5cf70b672f922432c375e3..62eaccb3dd982b7424e5cc9bc327d1c6a6393e23 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-284,6
+284,7
@@
check_mxf_audio_file (boost::filesystem::path ref, boost::filesystem::path check
BOOST_REQUIRE (!ASDCP_FAILURE (check_reader.FillAudioDescriptor (check_desc)));
BOOST_REQUIRE_EQUAL (ref_desc.ContainerDuration, check_desc.ContainerDuration);
+ BOOST_REQUIRE_MESSAGE(ref_desc.ChannelCount, check_desc.ChannelCount);
ASDCP::PCM::FrameBuffer ref_buffer (Kumu::Megabyte);
ASDCP::PCM::FrameBuffer check_buffer (Kumu::Megabyte);