summaryrefslogtreecommitdiff
path: root/test/subs_in_out.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/subs_in_out.cc
parent06c28c700f0a398a3289c4adfa83ceb2d0fc999d (diff)
{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.
Diffstat (limited to 'test/subs_in_out.cc')
-rw-r--r--test/subs_in_out.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/subs_in_out.cc b/test/subs_in_out.cc
index 7ca45f35..84f4de06 100644
--- a/test/subs_in_out.cc
+++ b/test/subs_in_out.cc
@@ -31,8 +31,8 @@
files in the program, then also delete it here.
*/
-#include "interop_subtitle_asset.h"
-#include "smpte_subtitle_asset.h"
+#include "interop_text_asset.h"
+#include "smpte_text_asset.h"
#include <iostream>
using namespace std;
@@ -46,12 +46,12 @@ main (int argc, char* argv[])
}
try {
- dcp::InteropSubtitleAsset sc (argv[1]);
+ dcp::InteropTextAsset sc(argv[1]);
cout << sc.xml_as_string ();
} catch (exception& e) {
cerr << "Could not load as interop: " << e.what() << "\n";
try {
- dcp::SMPTESubtitleAsset sc (argv[1]);
+ dcp::SMPTETextAsset sc(argv[1]);
cout << sc.xml_as_string();
} catch (exception& e) {
cerr << "Could not load as SMPTE (" << e.what() << ")\n";