summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-04 23:14:40 +0100
committerCarl Hetherington <cth@carlh.net>2023-12-05 00:49:33 +0100
commite3033879f7693d40f652f013b00c76deed6994da (patch)
tree16c6a62810d61306e15b0e81e8f4ef92015d0473 /examples
parent6973568117ed23c300f5ffa538f7eae87a9a9927 (diff)
Rename everything.
Diffstat (limited to 'examples')
-rw-r--r--examples/read_dcp.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc
index f099409f..d87cb60e 100644
--- a/examples/read_dcp.cc
+++ b/examples/read_dcp.cc
@@ -32,7 +32,7 @@
#include "mono_picture_asset_reader.h"
#include "stereo_picture_asset.h"
#include "sound_asset.h"
-#include "subtitle_asset.h"
+#include "text_asset.h"
#include "openjpeg_image.h"
#include "colour_conversion.h"
#include "rgb_xyz.h"
@@ -77,8 +77,8 @@ main ()
std::cout << "3D picture\n";
} else if (std::dynamic_pointer_cast<dcp::SoundAsset>(i)) {
std::cout << "Sound\n";
- } else if (std::dynamic_pointer_cast<dcp::SubtitleAsset>(i)) {
- std::cout << "Subtitle\n";
+ } else if (std::dynamic_pointer_cast<dcp::TextAsset>(i)) {
+ std::cout << "Subtitle / closed caption\n";
} else if (std::dynamic_pointer_cast<dcp::CPL>(i)) {
std::cout << "CPL\n";
}