diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-10 10:29:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-10 10:29:44 +0000 |
| commit | 3ace8d6c8400939a6b66743fe395a0c16a90ecf2 (patch) | |
| tree | 0fd9f5b9585723e741f3db38f493c1b7759f05f2 /src/lib | |
| parent | 6ffb6bf6681b709a21c8a42da213590117ad33d6 (diff) | |
Fix daft mistake in ordering with audio MXF deletion saga.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index cc3b87596..b93a26bb0 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -91,8 +91,6 @@ Writer::Writer (shared_ptr<const Film> f, weak_ptr<Job> j) _picture_asset->set_key (_film->key ()); } - _picture_asset_writer = _picture_asset->start_write (_first_nonexistant_frame > 0); - /* Write the sound asset into the film directory so that we leave the creation of the DCP directory until the last minute. Some versions of windows inexplicably don't like overwriting existing files here, so try to remove it using boost. @@ -108,6 +106,8 @@ Writer::Writer (shared_ptr<const Film> f, weak_ptr<Job> j) ); } + _picture_asset_writer = _picture_asset->start_write (_first_nonexistant_frame > 0); + _sound_asset.reset (new libdcp::SoundAsset (_film->directory (), _film->audio_mxf_filename ())); _sound_asset->set_edit_rate (_film->video_frame_rate ()); _sound_asset->set_channels (_film->audio_channels ()); |
