diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
| commit | 5ee3348142f4cfafdbcf2c9c833843d717affc11 (patch) | |
| tree | 1c97c80eeccc6b5f515a611e35dee35b21d3b09b /src/smpte_subtitle_asset.cc | |
| parent | 740938890d95e853cf13d4780a5d674c3d6c7f6f (diff) | |
Various IMF hacks.imf
Diffstat (limited to 'src/smpte_subtitle_asset.cc')
| -rw-r--r-- | src/smpte_subtitle_asset.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index 8f40af5f..b1e96d77 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -51,6 +51,7 @@ using namespace dcp; SMPTESubtitleAsset::SMPTESubtitleAsset () : _intrinsic_duration (0) + , _type (ASSET_DCP) , _edit_rate (24, 1) , _time_code_rate (24) { @@ -60,8 +61,9 @@ SMPTESubtitleAsset::SMPTESubtitleAsset () /** Construct a SMPTESubtitleAsset by reading an MXF or XML file. * @param file Filename. */ -SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file) +SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file, AssetType type) : SubtitleAsset (file) + , _type (type) { shared_ptr<cxml::Document> xml (new cxml::Document ("SubtitleReel")); |
