FIXME.
authorCarl Hetherington <cth@carlh.net>
Thu, 19 Jul 2018 21:58:25 +0000 (22:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 19 Jul 2018 21:58:25 +0000 (22:58 +0100)
src/reel_subtitle_asset.cc

index ddb1b9726fa5856e6e8452b3205e9f9a3e8166a6..77c001d5e8a3e30a29eb5144f58251bf3d731071 100644 (file)
@@ -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> */