From 5d9b8579950a4440b43a649c27fa36082144773d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 10 Jan 2025 22:17:00 +0100 Subject: Put open captions into subtitles and closed subtitles into captions. We could write them separately (libdcp supports this, AFAIK) but the Deluxe guidelines suggest not to use ClosedSubtitle or MainCaption. --- src/lib/writer.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/writer.cc') diff --git a/src/lib/writer.cc b/src/lib/writer.cc index f1dceee6e..b1d21cae1 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -828,10 +828,12 @@ Writer::write (PlayerText text, TextType type, optional track, DCP switch (type) { case TextType::OPEN_SUBTITLE: + case TextType::OPEN_CAPTION: reel = &_subtitle_reel; _have_subtitles = true; break; case TextType::CLOSED_CAPTION: + case TextType::CLOSED_SUBTITLE: DCPOMATIC_ASSERT (track); DCPOMATIC_ASSERT (_caption_reels.find(*track) != _caption_reels.end()); reel = &_caption_reels[*track]; -- cgit v1.2.3