From ff75febaebe52a25483a5dca9001cc667346460e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Jul 2018 22:58:25 +0100 Subject: FIXME. --- src/reel_subtitle_asset.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 */ xmlpp::Node* ms = find_child (node, cpl_node_name (standard)); /* Find */ -- cgit v1.2.3