summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-25 22:00:06 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-25 22:00:06 +0200
commit9f294327cb59fce307c3a439f044d79b081376b0 (patch)
treebce7bffabf5d9f7903e46245448fface6cbe8d58 /src/tools
parent8475d7b7d70d5b98e7737f326653d80a9fd8e9cf (diff)
Add option to export Interop subs with or without the font file / reference.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 9401bc340..5c32fd487 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -990,7 +990,7 @@ private:
void jobs_export_subtitles ()
{
- ExportSubtitlesDialog* d = new ExportSubtitlesDialog (this, _film->isdcf_name(true));
+ ExportSubtitlesDialog* d = new ExportSubtitlesDialog (this, _film->isdcf_name(true), _film->interop());
if (d->ShowModal() == wxID_OK) {
if (boost::filesystem::exists(d->path())) {
bool ok = confirm_dialog(
@@ -1006,7 +1006,7 @@ private:
shared_ptr<TranscodeJob> job (new TranscodeJob (_film));
job->set_encoder (
- shared_ptr<SubtitleEncoder>(new SubtitleEncoder(_film, job, d->path(), d->split_reels()))
+ shared_ptr<SubtitleEncoder>(new SubtitleEncoder(_film, job, d->path(), d->split_reels(), d->include_font()))
);
JobManager::instance()->add (job);
}