summaryrefslogtreecommitdiff
path: root/src/reel.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.cc
parent54b46b7630c06044a121d70d9035384126f6e7b3 (diff)
Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.
Diffstat (limited to 'src/reel.cc')
-rw-r--r--src/reel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel.cc b/src/reel.cc
index fa20cba9..a35216bf 100644
--- a/src/reel.cc
+++ b/src/reel.cc
@@ -356,7 +356,7 @@ Reel::add (shared_ptr<ReelAsset> asset)
} else if (auto so = dynamic_pointer_cast<ReelSoundAsset>(asset)) {
_main_sound = so;
} else if (auto te = dynamic_pointer_cast<ReelTextAsset>(asset)) {
- if (te->type() == TextType::SUBTITLE) {
+ if (te->type() == TextType::OPEN_SUBTITLE) {
_main_subtitle = te;
} else {
_closed_captions.push_back(te);