summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reel_subtitle_asset.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reel_subtitle_asset.cc b/src/reel_subtitle_asset.cc
index ddb1b972..77c001d5 100644
--- 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> */