diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-25 20:41:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-25 20:41:45 +0100 |
| commit | f76647abae551840a43bb8f07189051ec20bab6d (patch) | |
| tree | 12d67e33c71516480cb71381bc426dfe18513821 /src/asset.cc | |
| parent | e8530ea06f0b0883e5e19dd18beed70732ac5d3c (diff) | |
Switch away from the many-constructor-arguments approach to a hopefully simpler API.
Diffstat (limited to 'src/asset.cc')
| -rw-r--r-- | src/asset.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/asset.cc b/src/asset.cc index 6e4901b5..4e17f855 100644 --- a/src/asset.cc +++ b/src/asset.cc @@ -37,14 +37,14 @@ using namespace std; using namespace boost; using namespace libdcp; -Asset::Asset (boost::filesystem::path directory, string file_name, int edit_rate, int intrinsic_duration) +Asset::Asset (boost::filesystem::path directory, string file_name) : _directory (directory) , _file_name (file_name) , _uuid (make_uuid ()) - , _edit_rate (edit_rate) + , _edit_rate (0) , _entry_point (0) - , _intrinsic_duration (intrinsic_duration) - , _duration (intrinsic_duration) + , _intrinsic_duration (0) + , _duration (0) { if (_file_name.empty ()) { _file_name = _uuid + ".xml"; |
