diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-15 09:43:41 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-15 09:43:41 +0000 |
| commit | bf59c288798851808359575662f202d390032aa7 (patch) | |
| tree | cbf4f646a60787614e25eeeb3c436432a04ea739 /src/reel.cc | |
| parent | 39f0ae0efb3406357253d19bf7588f3832735d0b (diff) | |
Use MXFAsset::_interop to decide on whether to write asset XML as Interop or SMPTE.
Diffstat (limited to 'src/reel.cc')
| -rw-r--r-- | src/reel.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/reel.cc b/src/reel.cc index b729695c..ff51c025 100644 --- a/src/reel.cc +++ b/src/reel.cc @@ -35,7 +35,7 @@ using boost::dynamic_pointer_cast; using namespace libdcp; void -Reel::write_to_cpl (xmlpp::Element* node, bool interop) const +Reel::write_to_cpl (xmlpp::Element* node) const { xmlpp::Element* reel = node->add_child ("Reel"); reel->add_child("Id")->add_child_text ("urn:uuid:" + make_uuid()); @@ -43,20 +43,20 @@ Reel::write_to_cpl (xmlpp::Element* node, bool interop) const if (_main_picture && dynamic_pointer_cast<MonoPictureAsset> (_main_picture)) { /* Mono pictures come before other stuff... */ - _main_picture->write_to_cpl (asset_list, interop); + _main_picture->write_to_cpl (asset_list); } if (_main_sound) { - _main_sound->write_to_cpl (asset_list, interop); + _main_sound->write_to_cpl (asset_list); } if (_main_subtitle) { - _main_subtitle->write_to_cpl (asset_list, interop); + _main_subtitle->write_to_cpl (asset_list); } if (_main_picture && dynamic_pointer_cast<StereoPictureAsset> (_main_picture)) { /* ... but stereo pictures must come after */ - _main_picture->write_to_cpl (asset_list, interop); + _main_picture->write_to_cpl (asset_list); } } |
