diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-06 01:01:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-09 00:54:02 +0000 |
| commit | 897fc8638d4679b874b8cb65e0292c0c8194899a (patch) | |
| tree | c53b195fbbc82e9734ab12b01c3ded72107430e4 /src/smpte_subtitle_asset.cc | |
| parent | 9a980ba8f4d640d01ee481a67a8a783261ea7c47 (diff) | |
Store interop/SMPTE in MXF.
Diffstat (limited to 'src/smpte_subtitle_asset.cc')
| -rw-r--r-- | src/smpte_subtitle_asset.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index c85afc2e..a0472f3f 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -63,7 +63,8 @@ using boost::dynamic_pointer_cast; using namespace dcp; SMPTESubtitleAsset::SMPTESubtitleAsset () - : _intrinsic_duration (0) + : MXF (SMPTE) + , _intrinsic_duration (0) , _edit_rate (24, 1) , _time_code_rate (24) , _xml_id (make_uuid ()) @@ -293,10 +294,10 @@ SMPTESubtitleAsset::xml_as_string () const void SMPTESubtitleAsset::write (boost::filesystem::path p) const { - EncryptionContext enc (key (), SMPTE); + EncryptionContext enc (key(), SMPTE); ASDCP::WriterInfo writer_info; - fill_writer_info (&writer_info, _id, SMPTE); + fill_writer_info (&writer_info, _id); ASDCP::TimedText::TimedTextDescriptor descriptor; descriptor.EditRate = ASDCP::Rational (_edit_rate.numerator, _edit_rate.denominator); |
