diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-02 23:05:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-04 20:48:35 +0200 |
| commit | b0c9c0470708d0822631b82915f4ed67e5fc7c1b (patch) | |
| tree | 1bb8f0e222206d3247d31036afe92aa23fd686e4 /src/lib/isdcf_metadata.cc | |
| parent | bb9a4a46266f705142a8aca41a092445a02debf0 (diff) | |
Use ratings from Interop/SMPTE metadata instead of ISDCF metadata dialogue.
Diffstat (limited to 'src/lib/isdcf_metadata.cc')
| -rw-r--r-- | src/lib/isdcf_metadata.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/isdcf_metadata.cc b/src/lib/isdcf_metadata.cc index daf3a4c4f..c190ba3dc 100644 --- a/src/lib/isdcf_metadata.cc +++ b/src/lib/isdcf_metadata.cc @@ -34,8 +34,7 @@ using std::shared_ptr; using dcp::raw_convert; ISDCFMetadata::ISDCFMetadata (cxml::ConstNodePtr node) - : rating (node->string_child ("Rating")) - , studio (node->string_child ("Studio")) + : studio (node->string_child ("Studio")) , facility (node->string_child ("Facility")) /* This stuff was added later */ , temp_version (node->optional_bool_child ("TempVersion").get_value_or (false)) @@ -51,7 +50,6 @@ ISDCFMetadata::ISDCFMetadata (cxml::ConstNodePtr node) void ISDCFMetadata::as_xml (xmlpp::Node* root) const { - root->add_child("Rating")->add_child_text (rating); root->add_child("Studio")->add_child_text (studio); root->add_child("Facility")->add_child_text (facility); root->add_child("TempVersion")->add_child_text (temp_version ? "1" : "0"); @@ -65,8 +63,7 @@ ISDCFMetadata::as_xml (xmlpp::Node* root) const bool operator== (ISDCFMetadata const & a, ISDCFMetadata const & b) { - return a.rating == b.rating && - a.studio == b.studio && + return a.studio == b.studio && a.facility == b.facility && a.temp_version == b.temp_version && a.pre_release == b.pre_release && |
