Ignore Language tag in subtitles. Get MXF/XML filenames from the asset map.
[libdcp.git] / src / pkl.cc
index 51e75818c2b57b5760c1acf49b970be788ba600d..41c44734d9a6dbc1e03ec23784248b981b6c3041 100644 (file)
@@ -49,16 +49,3 @@ PKLAsset::PKLAsset (xmlpp::Node const * node)
        type = string_node ("Type");
        original_file_name = optional_string_node ("OriginalFileName");
 }
-       
-shared_ptr<PKLAsset>
-PKL::asset_from_id (string id) const
-{
-       for (list<shared_ptr<PKLAsset> >::const_iterator i = assets.begin (); i != assets.end(); ++i) {
-               if ((*i)->id == id) {
-                       return *i;
-               }
-       }
-
-       return shared_ptr<PKLAsset> ();
-}
-