diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-12 00:20:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 2fa5b7bfeb3826c20f2fe80f272b556d61935063 (patch) | |
| tree | 20ff8625f91de07ee48411fed91caa941d5dd09e /src/reel_asset.cc | |
| parent | 2c5e61891e7975f4c2d33a5f2ed144645e3078f9 (diff) | |
Split ReelClosedCaptionAsset into Interop and SMPTE parts.
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index 0f47e08d..cd54ccba 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -85,8 +85,8 @@ ReelAsset::write_to_cpl_asset (xmlpp::Node* node, Standard standard, optional<st if (!attr.first.empty ()) { a->set_attribute (attr.first, attr.second); } - auto const ns = cpl_node_namespace (standard); - if (!ns.first.empty ()) { + auto const ns = cpl_node_namespace (); + if (!ns.first.empty()) { a->set_namespace_declaration (ns.first, ns.second); } a->add_child("Id")->add_child_text ("urn:uuid:" + _id); @@ -114,7 +114,7 @@ ReelAsset::cpl_node_attribute (Standard) const pair<string, string> -ReelAsset::cpl_node_namespace (Standard) const +ReelAsset::cpl_node_namespace () const { return make_pair ("", ""); } |
