summaryrefslogtreecommitdiff
path: root/src/atmos_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-25 15:08:21 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-25 15:08:21 +0100
commite4ed001fff70bd10b94e61bf36cdffd1a679286d (patch)
tree9147de6473246ed175814d4c2cfc3176fe2ba436 /src/atmos_asset.cc
parent216555fd5145ce4668d1a02337ed87edef64367b (diff)
Basic writing of DCPs containing Atmos MXFs; untested.
Diffstat (limited to 'src/atmos_asset.cc')
-rw-r--r--src/atmos_asset.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atmos_asset.cc b/src/atmos_asset.cc
index 6c0c0e78..c0507a8a 100644
--- a/src/atmos_asset.cc
+++ b/src/atmos_asset.cc
@@ -38,6 +38,8 @@ AtmosAsset::AtmosAsset (boost::filesystem::path file)
boost::throw_exception (DCPReadError ("could not read Atmos MXF information"));
}
+ _edit_rate = Fraction (desc.EditRate.Numerator, desc.EditRate.Denominator);
+ _intrinsic_duration = desc.ContainerDuration;
_first_frame = desc.FirstFrame;
_max_channel_count = desc.MaxChannelCount;
_max_object_count = desc.MaxObjectCount;