projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6463d35
)
Write subtitle files in binary mode.
tests-on-all-platforms
author
Carl Hetherington
<cth@carlh.net>
Mon, 2 May 2022 23:13:34 +0000
(
01:13
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 4 May 2022 17:37:38 +0000
(19:37 +0200)
src/interop_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/interop_subtitle_asset.cc
b/src/interop_subtitle_asset.cc
index f3552abec30f6f01a962014511596431957d6ce9..ce3a494383869b432d706fb8d44666826342dc0a 100644
(file)
--- a/
src/interop_subtitle_asset.cc
+++ b/
src/interop_subtitle_asset.cc
@@
-192,7
+192,7
@@
InteropSubtitleAsset::load_font_nodes () const
void
InteropSubtitleAsset::write (boost::filesystem::path p) const
{
- File f(p, "w");
+ File f(p, "w
b
");
if (!f) {
throw FileError ("Could not open file for writing", p, -1);
}