Fix hang when trying to assure minimum bitrate.
[dcpomatic.git] / test / subtitle_metadata_test.cc
index a60d0675cdb04db0b258352380955cf04b636692..6eaa7710060c1577e539eb174e2d8e99a6c48373 100644 (file)
 #include "lib/film.h"
 #include "test.h"
 #include <boost/filesystem.hpp>
-#include <boost/shared_ptr.hpp>
 #include <boost/test/unit_test.hpp>
 
 
 using std::vector;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 
 BOOST_AUTO_TEST_CASE (subtitle_metadata_test1)
@@ -71,6 +70,6 @@ BOOST_AUTO_TEST_CASE (subtitle_metadata_test2)
 
        vector<dcp::LanguageTag> langs = film->subtitle_languages ();
        BOOST_REQUIRE (!langs.empty());
-       BOOST_CHECK_EQUAL (langs.front().to_string(), "fr");
+       BOOST_CHECK_EQUAL (langs.front().to_string(), "FR");
 }