/*
- Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#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.
*/
public:
SubtitleEncoder (std::shared_ptr<const Film> film, std::shared_ptr<Job> 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;
}