diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
| commit | ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch) | |
| tree | c55e4b85ee30138ce83263045d77d01631378b2e /src/atmos_asset.cc | |
| parent | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff) | |
Tidying.
Diffstat (limited to 'src/atmos_asset.cc')
| -rw-r--r-- | src/atmos_asset.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/atmos_asset.cc b/src/atmos_asset.cc index b8743092..ae381737 100644 --- a/src/atmos_asset.cc +++ b/src/atmos_asset.cc @@ -32,6 +32,11 @@ */ +/** @file src/atmos_asset.cc + * @brief AtmosAsset class + */ + + #include "atmos_asset.h" #include "atmos_asset_reader.h" #include "atmos_asset_writer.h" @@ -48,7 +53,6 @@ using namespace dcp; AtmosAsset::AtmosAsset (Fraction edit_rate, int first_frame, int max_channel_count, int max_object_count, int atmos_version) : MXF (Standard::SMPTE) , _edit_rate (edit_rate) - , _intrinsic_duration (0) , _first_frame (first_frame) , _max_channel_count (max_channel_count) , _max_object_count (max_object_count) @@ -105,7 +109,8 @@ AtmosAsset::static_pkl_type (Standard) shared_ptr<AtmosAssetReader> AtmosAsset::start_read () const { - return make_shared<AtmosAssetReader>(this, key(), Standard::SMPTE); + /* Can't use make_shared here since the constructor is protected */ + return shared_ptr<AtmosAssetReader>(new AtmosAssetReader(this, key(), Standard::SMPTE)); } |
