summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-28 23:12:42 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:57:31 +0200
commit8e43142645252daeeaccbad7b9f3ed746c4b2382 (patch)
tree6c029caa9f0c961087ec6145da0bbbb8abf17146 /test/test.cc
parent06c28c700f0a398a3289c4adfa83ceb2d0fc999d (diff)
{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test.cc b/test/test.cc
index 8e30878d..e1d5ce77 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -36,7 +36,7 @@
#include "compose.hpp"
#include "cpl.h"
#include "dcp.h"
-#include "interop_subtitle_asset.h"
+#include "interop_text_asset.h"
#include "file.h"
#include "j2k_transcode.h"
#include "mono_j2k_picture_asset.h"
@@ -52,7 +52,7 @@
#include "reel_mono_picture_asset.h"
#include "reel_smpte_text_asset.h"
#include "reel_sound_asset.h"
-#include "smpte_subtitle_asset.h"
+#include "smpte_text_asset.h"
#include "sound_asset.h"
#include "sound_asset_writer.h"
#include "test.h"
@@ -436,7 +436,7 @@ make_simple_with_interop_subs (boost::filesystem::path path)
{
auto dcp = make_simple (path, 1, 24, dcp::Standard::INTEROP);
- auto subs = make_shared<dcp::InteropSubtitleAsset>();
+ auto subs = make_shared<dcp::InteropTextAsset>();
subs->add (simple_subtitle());
boost::filesystem::create_directory (path / "subs");
@@ -457,7 +457,7 @@ make_simple_with_smpte_subs (boost::filesystem::path path)
{
auto dcp = make_simple (path, 1, 192);
- auto subs = make_shared<dcp::SMPTESubtitleAsset>();
+ auto subs = make_shared<dcp::SMPTETextAsset>();
subs->set_language (dcp::LanguageTag("de-DE"));
subs->set_start_time (dcp::Time());
subs->add (simple_subtitle());
@@ -478,7 +478,7 @@ make_simple_with_interop_ccaps (boost::filesystem::path path)
{
auto dcp = make_simple (path, 1, 24, dcp::Standard::INTEROP);
- auto subs = make_shared<dcp::InteropSubtitleAsset>();
+ auto subs = make_shared<dcp::InteropTextAsset>();
subs->add (simple_subtitle());
subs->write (path / "ccap.xml");
@@ -494,7 +494,7 @@ make_simple_with_smpte_ccaps (boost::filesystem::path path)
{
auto dcp = make_simple (path, 1, 192);
- auto subs = make_shared<dcp::SMPTESubtitleAsset>();
+ auto subs = make_shared<dcp::SMPTETextAsset>();
subs->set_language (dcp::LanguageTag("de-DE"));
subs->set_start_time (dcp::Time());
subs->add (simple_subtitle());