Merge branch '1.0' into 1.0-seek
[dcpomatic.git] / test / stream_test.cc
index a95eb708c4324885fe20e478c000ffa357894eb3..86bcc5a6939889bcfec87387c682256ad23f4cb6 100644 (file)
 
 */
 
+#include <boost/test/unit_test.hpp>
+#include <libxml++/libxml++.h>
 #include <libcxml/cxml.h>
+#include "lib/ffmpeg_content.h"
+#include "lib/film.h"
 
 using std::pair;
+using std::list;
+using boost::shared_ptr;
 
 BOOST_AUTO_TEST_CASE (stream_test)
 {
@@ -56,7 +62,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)));
+       FFmpegAudioStream a (shared_ptr<cxml::Node> (new cxml::Node (root)), Film::state_version);
 
        BOOST_CHECK_EQUAL (a.id, 4);
        BOOST_CHECK_EQUAL (a.frame_rate, 44100);