diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-01 00:42:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-01 00:42:05 +0100 |
| commit | cf2b75373d6908f97bd9c25ce24ffdd9685545f5 (patch) | |
| tree | ec9015e18ab461ee2ab694c090d3ecbd0b61ac7e /src/lib/subtitle_film_encoder.h | |
| parent | 2567be677682e96d5cb7de31dbdcea80111ac8f4 (diff) | |
Allow export of Interop/SMPTE format subtitles (#3025).
Diffstat (limited to 'src/lib/subtitle_film_encoder.h')
| -rw-r--r-- | src/lib/subtitle_film_encoder.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/subtitle_film_encoder.h b/src/lib/subtitle_film_encoder.h index e2b6dd208..0fbb830c3 100644 --- a/src/lib/subtitle_film_encoder.h +++ b/src/lib/subtitle_film_encoder.h @@ -39,7 +39,15 @@ class Film; class SubtitleFilmEncoder : public FilmEncoder { public: - SubtitleFilmEncoder(std::shared_ptr<const Film> film, std::shared_ptr<Job> job, boost::filesystem::path output, std::string initial_name, bool split_reels, bool include_font); + SubtitleFilmEncoder( + std::shared_ptr<const Film> film, + std::shared_ptr<Job> job, + boost::filesystem::path output, + std::string initial_name, + bool split_reels, + bool include_font, + dcp::Standard standard + ); void go() override; @@ -60,5 +68,6 @@ private: int _reel_index; boost::optional<dcpomatic::DCPTime> _last; dcpomatic::DCPTime _length; + dcp::Standard _standard; dcp::ArrayData _default_font; }; |
