X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle_encoder.h;h=b43cc268389e1ddbecfe19649692058d4a1b2dc5;hb=84039db657c3cc72719706a136c90741170c765a;hp=165d5fcb67792f409b3d8e2060b0fa2a707cc565;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/lib/subtitle_encoder.h b/src/lib/subtitle_encoder.h index 165d5fcb6..b43cc2683 100644 --- a/src/lib/subtitle_encoder.h +++ b/src/lib/subtitle_encoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2019 Carl Hetherington + Copyright (C) 2019-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,18 +18,22 @@ */ + #include "types.h" #include "player_text.h" #include "dcp_text_track.h" #include "encoder.h" #include "dcpomatic_time.h" + namespace dcp { class SubtitleAsset; } + class Film; + /** @class SubtitleEncoder. * @brief An `encoder' which extracts a film's subtitles to DCP XML format. */ @@ -38,12 +42,12 @@ class SubtitleEncoder : public Encoder public: SubtitleEncoder (std::shared_ptr film, std::shared_ptr job, boost::filesystem::path output, std::string intial_name, bool split_reels, bool include_font); - void go (); + void go () override; /** @return the number of frames that are done */ - Frame frames_done () const; + Frame frames_done () const override; - bool finishing () const { + bool finishing () const override { return false; }