projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e2f6b6
)
Make sure subtitle exports have .xml extension.
author
Carl Hetherington
<cth@carlh.net>
Sun, 8 Sep 2019 00:19:35 +0000
(
01:19
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 8 Sep 2019 00:19:35 +0000
(
01:19
+0100)
src/lib/subtitle_encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/subtitle_encoder.cc
b/src/lib/subtitle_encoder.cc
index cc31c792b96a93f2ba69ab901bff3b4f02e5471f..2daa5086dda6c2a529c4420f4fb8c5f0525be99e 100644
(file)
--- a/
src/lib/subtitle_encoder.cc
+++ b/
src/lib/subtitle_encoder.cc
@@
-63,7
+63,7
@@
SubtitleEncoder::SubtitleEncoder (shared_ptr<const Film> film, shared_ptr<Job> j
filename = filename.string() + String::compose(_("_reel%1"), i + 1);
}
- _assets.push_back (make_pair(shared_ptr<dcp::SubtitleAsset>(),
filename
));
+ _assets.push_back (make_pair(shared_ptr<dcp::SubtitleAsset>(),
boost::filesystem::change_extension(filename, ".xml")
));
}
BOOST_FOREACH (dcpomatic::DCPTimePeriod i, film->reels()) {