summaryrefslogtreecommitdiff
path: root/test/stream_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-07 11:11:24 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-07 11:11:24 +0000
commitd867b45c8de7400c977d7d1f188936ba3399432e (patch)
tree2cac0bf90c3a3405a8ff8fd8fe681a71d9781a5b /test/stream_test.cc
parent92f5278d49d3d52a4d9d8b87a667470db01de94a (diff)
Fix test.
Diffstat (limited to 'test/stream_test.cc')
-rw-r--r--test/stream_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/stream_test.cc b/test/stream_test.cc
index 6d8938ca4..6abcf6e22 100644
--- a/test/stream_test.cc
+++ b/test/stream_test.cc
@@ -35,6 +35,9 @@ BOOST_AUTO_TEST_CASE (stream_test)
root->add_child("Id")->add_child_text ("4");
root->add_child("FrameRate")->add_child_text ("44100");
root->add_child("Channels")->add_child_text ("2");
+
+ /* This is the state file version 5 description of the mapping */
+
xmlpp::Element* mapping = root->add_child("Mapping");
mapping->add_child("ContentChannels")->add_child_text ("2");
{
@@ -62,7 +65,7 @@ BOOST_AUTO_TEST_CASE (stream_test)
map->add_child("DCP")->add_child_text ("2");
}
- FFmpegAudioStream a (shared_ptr<cxml::Node> (new cxml::Node (root)), Film::state_version);
+ FFmpegAudioStream a (shared_ptr<cxml::Node> (new cxml::Node (root)), 5);
BOOST_CHECK_EQUAL (a.id, 4);
BOOST_CHECK_EQUAL (a.frame_rate, 44100);