diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-29 11:55:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-29 11:55:10 +0100 |
| commit | 367b43df1630a5e4e4173fb50e234803f248f00f (patch) | |
| tree | e115091f93b20fa1fbb1f2c16a2bdf26c9e73e63 /src/reel_asset.cc | |
| parent | 9f75a44df591954519ac828a1b50b6d5ebd2a3a1 (diff) | |
Allow CCAP reel nodes to have language tags.
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index f96ee2c0..72a1937c 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -92,7 +92,7 @@ ReelAsset::ReelAsset (shared_ptr<const cxml::Node> node) } -void +xmlpp::Node* ReelAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const { xmlpp::Element* a = node->add_child (cpl_node_name (standard)); @@ -113,6 +113,7 @@ ReelAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const if (_hash) { a->add_child("Hash")->add_child_text (_hash.get()); } + return a; } pair<string, string> |
