diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-02 17:20:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-02 17:20:04 +0100 |
| commit | 568d433830710baa7b0c64a5b7491758beb95b1c (patch) | |
| tree | a37742ed23776b3df3fe2f05900aaaa5cb9aa551 /src/dcp.cc | |
| parent | 49fb66ee26be51bee67ae552c9cf4f8d21495b79 (diff) | |
Move edit rate / durations / entry point etc. into Asset from MXFAsset.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -365,7 +365,8 @@ CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, b ) ); - picture->set_entry_point ((*i)->asset_list->main_picture->entry_point); + picture->set_entry_point (p->entry_point); + picture->set_duration (p->duration); } catch (MXFFileError) { if (require_mxfs) { throw; @@ -384,6 +385,7 @@ CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, b ); picture->set_entry_point (p->entry_point); + picture->set_duration (p->duration); } catch (MXFFileError) { if (require_mxfs) { @@ -403,6 +405,7 @@ CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, b ); sound->set_entry_point ((*i)->asset_list->main_sound->entry_point); + sound->set_duration ((*i)->asset_list->main_sound->duration); } catch (MXFFileError) { if (require_mxfs) { throw; |
