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/resource.cc | |
| parent | 740938890d95e853cf13d4780a5d674c3d6c7f6f (diff) | |
Various IMF hacks.imf
Diffstat (limited to 'src/resource.cc')
| -rw-r--r-- | src/resource.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resource.cc b/src/resource.cc index 50ab57b4..b6622435 100644 --- a/src/resource.cc +++ b/src/resource.cc @@ -23,7 +23,9 @@ using namespace dcp; Resource::Resource (cxml::ConstNodePtr node) : Object (node->string_child ("Id")) + , _asset_ref (node->string_child ("TrackFileId").substr (9)) + , _intrinsic_duration (node->number_child<int64_t> ("IntrinsicDuration")) + , _entry_point (node->number_child<int64_t> ("EntryPoint")) { - _intrinsic_duration = node->number_child<int64_t> ("IntrinsicDuration"); - _entry_point = node->number_child<int64_t> ("EntryPoint"); + } |
