summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-18 21:46:20 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-18 21:46:20 +0000
commit6a5bb039b3bfd508cc87b6b15102b9eb60c62f8d (patch)
tree65a8213237670f33a1f5383f5a973fd5f1b82b5b /src/dcp.cc
parent2489080f9a5d2891da0fc313b2c0ac1450a630ad (diff)
Add basics for progressive sound asset writing.
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
)
);