From: Carl Hetherington Date: Wed, 9 Dec 2020 15:26:33 +0000 (+0100) Subject: Fix namespace on closed caption Language tag. X-Git-Tag: v1.8.0~207 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;ds=inline;h=02e0e7febed98d2b9375c7638b61a25003603c9a;p=libdcp.git Fix namespace on closed caption Language tag. --- diff --git a/src/reel_closed_caption_asset.cc b/src/reel_closed_caption_asset.cc index 720362b8..45e83933 100644 --- a/src/reel_closed_caption_asset.cc +++ b/src/reel_closed_caption_asset.cc @@ -103,7 +103,7 @@ ReelClosedCaptionAsset::write_to_cpl (xmlpp::Node* node, Standard standard) cons write_to_cpl_mxf (asset); if (_language) { - asset->add_child("Language")->add_child_text(*_language); + asset->add_child("Language", "tt")->add_child_text(*_language); } return asset;