From 6a5bb039b3bfd508cc87b6b15102b9eb60c62f8d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 18 Jan 2013 21:46:20 +0000 Subject: Add basics for progressive sound asset writing. --- src/dcp.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/dcp.cc') diff --git a/src/dcp.cc b/src/dcp.cc index e148c772..4f1732da 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -361,9 +361,7 @@ CPL::CPL (string directory, string file, shared_ptr 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 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 ) ); -- cgit v1.2.3