summaryrefslogtreecommitdiff
path: root/src/reel_interop_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_interop_text_asset.cc
parent54b46b7630c06044a121d70d9035384126f6e7b3 (diff)
Rename TextType::SUBTITLE -> OPEN_SUBTITLE and CAPTION -> CLOSED_CAPTION.
Diffstat (limited to 'src/reel_interop_text_asset.cc')
-rw-r--r--src/reel_interop_text_asset.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reel_interop_text_asset.cc b/src/reel_interop_text_asset.cc
index 4e0f45c8..c43cf37b 100644
--- a/src/reel_interop_text_asset.cc
+++ b/src/reel_interop_text_asset.cc
@@ -70,9 +70,9 @@ string
ReelInteropTextAsset::cpl_node_name() const
{
switch (_type) {
- case TextType::SUBTITLE:
+ case TextType::OPEN_SUBTITLE:
return "MainSubtitle";
- case TextType::CAPTION:
+ case TextType::CLOSED_CAPTION:
return "cc-cpl:MainClosedCaption";
}
@@ -85,9 +85,9 @@ pair<string, string>
ReelInteropTextAsset::cpl_node_namespace() const
{
switch (_type) {
- case TextType::SUBTITLE:
+ case TextType::OPEN_SUBTITLE:
return {};
- case TextType::CAPTION:
+ case TextType::CLOSED_CAPTION:
return make_pair("http://www.digicine.com/PROTO-ASDCP-CC-CPL-20070926#", "cc-cpl");
}