projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIXME: Remove all use of add_child() from xmlpp.
[dcpomatic.git]
/
test
/
ssa_subtitle_test.cc
diff --git
a/test/ssa_subtitle_test.cc
b/test/ssa_subtitle_test.cc
index 3a1430696ddf3c9cbbe24e66c43a300eb8bb5c8c..2565fc03562b6337c33dd485cdd2aedf699f354d 100644
(file)
--- a/
test/ssa_subtitle_test.cc
+++ b/
test/ssa_subtitle_test.cc
@@
-25,22
+25,22
@@
*/
*/
-#include "lib/film.h"
-#include "lib/string_text_file_content.h"
#include "lib/dcp_content_type.h"
#include "lib/dcp_content_type.h"
+#include "lib/film.h"
#include "lib/font.h"
#include "lib/ratio.h"
#include "lib/font.h"
#include "lib/ratio.h"
+#include "lib/string_text_file_content.h"
#include "lib/text_content.h"
#include "test.h"
#include "lib/text_content.h"
#include "test.h"
+#include <dcp/equality_options.h>
#include <dcp/interop_subtitle_asset.h>
#include <boost/test/unit_test.hpp>
#include <boost/algorithm/string.hpp>
#include <dcp/interop_subtitle_asset.h>
#include <boost/test/unit_test.hpp>
#include <boost/algorithm/string.hpp>
-using std::string;
using std::list;
using std::list;
-using std::shared_ptr;
using std::make_shared;
using std::make_shared;
+using std::string;
/** Make a DCP with subs from a .ssa file */
/** Make a DCP with subs from a .ssa file */
@@
-59,6
+59,7
@@
BOOST_AUTO_TEST_CASE (ssa_subtitle_test1)
content->only_text()->set_use (true);
content->only_text()->set_burn (false);
content->only_text()->set_use (true);
content->only_text()->set_burn (false);
+ content->only_text()->set_language(dcp::LanguageTag("de"));
make_and_verify_dcp (film, { dcp::VerificationNote::Code::INVALID_STANDARD });
make_and_verify_dcp (film, { dcp::VerificationNote::Code::INVALID_STANDARD });