From df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Jul 2018 11:20:12 +0100 Subject: More automated renaming. ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType --- src/lib/dcp_encoder.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/dcp_encoder.cc') diff --git a/src/lib/dcp_encoder.cc b/src/lib/dcp_encoder.cc index f518aefef..42984887d 100644 --- a/src/lib/dcp_encoder.cc +++ b/src/lib/dcp_encoder.cc @@ -35,7 +35,7 @@ #include "writer.h" #include "compose.hpp" #include "referenced_reel_asset.h" -#include "caption_content.h" +#include "text_content.h" #include "player_video.h" #include #include @@ -64,7 +64,7 @@ DCPEncoder::DCPEncoder (shared_ptr film, weak_ptr job) _player_caption_connection = _player->Caption.connect (bind (&DCPEncoder::caption, this, _1, _2, _3)); BOOST_FOREACH (shared_ptr c, film->content ()) { - BOOST_FOREACH (shared_ptr i, c->caption) { + BOOST_FOREACH (shared_ptr i, c->caption) { if (i->use() && !i->burn()) { _non_burnt_subtitles = true; } @@ -143,7 +143,7 @@ DCPEncoder::audio (shared_ptr data, DCPTime time) } void -DCPEncoder::caption (PlayerCaption data, CaptionType type, DCPTimePeriod period) +DCPEncoder::caption (PlayerText data, TextType type, DCPTimePeriod period) { if (type == CAPTION_CLOSED || _non_burnt_subtitles) { _writer->write (data, type, period); -- cgit v1.2.3