diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-04 00:15:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:57:31 +0200 |
| commit | 3400e2d9ca9176289b581e72eac493909a0bbce1 (patch) | |
| tree | cd3e53b7c1baeed3992f4c36d25dea21128fbf91 /src/reel.cc | |
| parent | 54b46b7630c06044a121d70d9035384126f6e7b3 (diff) | |
Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.
Diffstat (limited to 'src/reel.cc')
| -rw-r--r-- | src/reel.cc | 2 |
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); |
