projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a4ee8
)
FIXME.
author
Carl Hetherington
<cth@carlh.net>
Thu, 19 Jul 2018 21:58:25 +0000
(22:58 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 19 Jul 2018 21:58:25 +0000
(22:58 +0100)
src/reel_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/reel_subtitle_asset.cc
b/src/reel_subtitle_asset.cc
index ddb1b9726fa5856e6e8452b3205e9f9a3e8166a6..77c001d5e8a3e30a29eb5144f58251bf3d731071 100644
(file)
--- a/
src/reel_subtitle_asset.cc
+++ b/
src/reel_subtitle_asset.cc
@@
-78,7
+78,10
@@
ReelSubtitleAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
{
ReelAsset::write_to_cpl (node, standard);
- if (key_id ()) {
+ /* XXX: couldn't this stuff be in the parent class? All child
+ classes seem to do the same thing...?
+ */
+ if (key_id ()) {
/* Find <MainSubtitle> */
xmlpp::Node* ms = find_child (node, cpl_node_name (standard));
/* Find <Hash> */