diff options
Diffstat (limited to 'src/reel_smpte_text_asset.cc')
| -rw-r--r-- | src/reel_smpte_text_asset.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reel_smpte_text_asset.cc b/src/reel_smpte_text_asset.cc index 7950dfd2..b1ce34cb 100644 --- a/src/reel_smpte_text_asset.cc +++ b/src/reel_smpte_text_asset.cc @@ -74,6 +74,10 @@ ReelSMPTETextAsset::cpl_node_name() const switch (_type) { case TextType::OPEN_SUBTITLE: return "MainSubtitle"; + case TextType::OPEN_CAPTION: + return "tt:MainCaption"; + case TextType::CLOSED_SUBTITLE: + return "ClosedSubtitle"; case TextType::CLOSED_CAPTION: return "tt:ClosedCaption"; } @@ -88,7 +92,9 @@ ReelSMPTETextAsset::cpl_node_namespace() const { switch (_type) { case TextType::OPEN_SUBTITLE: + case TextType::CLOSED_SUBTITLE: return {}; + case TextType::OPEN_CAPTION: case TextType::CLOSED_CAPTION: return make_pair("http://www.smpte-ra.org/schemas/429-12/2008/TT", "tt"); } |
