Fix namespace on closed caption Language tag.
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Dec 2020 15:26:33 +0000 (16:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 19:13:22 +0000 (20:13 +0100)
src/reel_closed_caption_asset.cc

index 720362b8d5f978eb1a807820eb5d9f3292baa938..45e83933a95a9b0d3f34b2714416f2ed179d85a2 100644 (file)
@@ -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;