diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-18 21:46:20 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-18 21:46:20 +0000 |
| commit | 6a5bb039b3bfd508cc87b6b15102b9eb60c62f8d (patch) | |
| tree | 65a8213237670f33a1f5383f5a973fd5f1b82b5b /src/dcp.cc | |
| parent | 2489080f9a5d2891da0fc313b2c0ac1450a630ad (diff) | |
Add basics for progressive sound asset writing.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -361,9 +361,7 @@ CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, b try { picture.reset (new MonoPictureAsset ( _directory, - asset_map->asset_from_id (p->id)->chunks.front()->path, - _fps, - (*i)->asset_list->main_picture->duration + asset_map->asset_from_id (p->id)->chunks.front()->path ) ); @@ -400,9 +398,7 @@ CPL::CPL (string directory, string file, shared_ptr<const AssetMap> asset_map, b try { sound.reset (new SoundAsset ( _directory, - asset_map->asset_from_id ((*i)->asset_list->main_sound->id)->chunks.front()->path, - _fps, - (*i)->asset_list->main_sound->duration + asset_map->asset_from_id ((*i)->asset_list->main_sound->id)->chunks.front()->path ) ); |
