projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
689bf63
)
Add comment.
author
Carl Hetherington
<cth@carlh.net>
Wed, 11 Aug 2021 23:29:37 +0000
(
01:29
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 11 Aug 2021 23:30:51 +0000
(
01:30
+0200)
src/lib/reel_writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/reel_writer.cc
b/src/lib/reel_writer.cc
index 7b9ea09bf469cc03e003099c00346bc17047752b..2b7292ff64814b3e9bdbe0af1036960b79ed37b6 100644
(file)
--- a/
src/lib/reel_writer.cc
+++ b/
src/lib/reel_writer.cc
@@
-440,6
+440,10
@@
ReelWriter::finish (boost::filesystem::path output_dcp)
}
}
}
}
+
+/** Try to make a ReelAsset for a subtitles or closed captions in a given period in the DCP.
+ * A SubtitleAsset can be provided, or we will use one from @ref refs if not.
+ */
template <class Interop, class SMPTE, class Result>
shared_ptr<Result>
maybe_add_text (
template <class Interop, class SMPTE, class Result>
shared_ptr<Result>
maybe_add_text (