diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-29 23:45:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-04 21:12:46 +0000 |
| commit | d4a2e054dee6ee80b578500e47f4eaf84731f140 (patch) | |
| tree | bcbf36b8e6b64800e01dd3cd0b440e1cf1a52bf8 /src/smpte_subtitle_asset.cc | |
| parent | 660f1059c3b2c1ee08cd390cf6d5a0b5900a7edc (diff) | |
Take DCP-o-matic's version of Data class.
Diffstat (limited to 'src/smpte_subtitle_asset.cc')
| -rw-r--r-- | src/smpte_subtitle_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index 08462a4a..00a9299a 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -273,8 +273,8 @@ SMPTESubtitleAsset::write (boost::filesystem::path p) const } if (j != _fonts.end ()) { ASDCP::TimedText::FrameBuffer buffer; - buffer.SetData (j->data.data.get(), j->data.size); - buffer.Size (j->data.size); + buffer.SetData (j->data.data().get(), j->data.size()); + buffer.Size (j->data.size()); r = writer.WriteAncillaryResource (buffer); if (ASDCP_FAILURE (r)) { boost::throw_exception (MXFFileError ("could not write font to timed text resource", p.string(), r)); |
