summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-11 18:37:15 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-11 18:37:15 +0000
commitd37c1c35b36a28a3e3bbec6c21721f16f8e4aa48 (patch)
tree79931e7a669e33d07072ef3d55117171727e2c25 /src/lib/encoder.cc
parent1ee6608ac6746b5cb9221052c74d467561dbac35 (diff)
Destroy Transcoder when cancelling transcode jobs; this closes the audio MXF so it can be overwritten, even on Windows.
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index b78bcaeea..fbec3e4d0 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -68,9 +68,6 @@ Encoder::Encoder (shared_ptr<const Film> f, weak_ptr<Job> j)
Encoder::~Encoder ()
{
terminate_threads ();
- if (_writer) {
- _writer->finish ();
- }
}
/** Add a worker thread for a each thread on a remote server. Caller must hold