summaryrefslogtreecommitdiff
path: root/src/reel_text_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-04 00:15:08 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:57:31 +0200
commit3400e2d9ca9176289b581e72eac493909a0bbce1 (patch)
treecd3e53b7c1baeed3992f4c36d25dea21128fbf91 /src/reel_text_asset.cc
parent54b46b7630c06044a121d70d9035384126f6e7b3 (diff)
Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.
Diffstat (limited to 'src/reel_text_asset.cc')
-rw-r--r--src/reel_text_asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reel_text_asset.cc b/src/reel_text_asset.cc
index 09749946..248a2ab3 100644
--- a/src/reel_text_asset.cc
+++ b/src/reel_text_asset.cc
@@ -72,9 +72,9 @@ ReelTextAsset::ReelTextAsset(std::shared_ptr<const cxml::Node> node)
: ReelFileAsset (node)
{
if (node->name() == "MainSubtitle") {
- _type = TextType::SUBTITLE;
+ _type = TextType::OPEN_SUBTITLE;
} else if (node->name() == "MainClosedCaption" || node->name() == "ClosedCaption") {
- _type = TextType::CAPTION;
+ _type = TextType::CLOSED_CAPTION;
} else {
DCP_ASSERT(false);
}