summaryrefslogtreecommitdiff
path: root/src/atmos_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-19 13:09:09 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-19 13:15:34 +0200
commit1fcc2d967b50d0a09a6f4cc2ab47d3d2206911a4 (patch)
tree08b0a91de5aeaffd2069d8336d565eeaf2642f55 /src/atmos_asset.cc
parentcdb664d5be551715d9f55d00920ed92b4e2123e0 (diff)
I believe atmos_id is a unique identifier, so create it in the
same way that all the others are created.
Diffstat (limited to 'src/atmos_asset.cc')
-rw-r--r--src/atmos_asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atmos_asset.cc b/src/atmos_asset.cc
index 3924e43a..c4c88568 100644
--- a/src/atmos_asset.cc
+++ b/src/atmos_asset.cc
@@ -41,14 +41,14 @@ using std::string;
using boost::shared_ptr;
using namespace dcp;
-AtmosAsset::AtmosAsset (Fraction edit_rate, int first_frame, int max_channel_count, int max_object_count, string atmos_id, int atmos_version)
+AtmosAsset::AtmosAsset (Fraction edit_rate, int first_frame, int max_channel_count, int max_object_count, int atmos_version)
: MXF (SMPTE)
, _edit_rate (edit_rate)
, _intrinsic_duration (0)
, _first_frame (first_frame)
, _max_channel_count (max_channel_count)
, _max_object_count (max_object_count)
- , _atmos_id (atmos_id)
+ , _atmos_id (make_uuid())
, _atmos_version (atmos_version)
{