summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc8
1 files changed, 2 insertions, 6 deletions
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<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
)
);