diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-11 18:37:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-11 18:37:15 +0000 |
| commit | d37c1c35b36a28a3e3bbec6c21721f16f8e4aa48 (patch) | |
| tree | 79931e7a669e33d07072ef3d55117171727e2c25 /src/lib/writer.h | |
| parent | 1ee6608ac6746b5cb9221052c74d467561dbac35 (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/writer.h')
| -rw-r--r-- | src/lib/writer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h index e2807d712..7af79a417 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -71,6 +71,7 @@ class Writer : public ExceptionStore, public boost::noncopyable { public: Writer (boost::shared_ptr<const Film>, boost::weak_ptr<Job>); + ~Writer (); bool can_fake_write (int) const; @@ -83,6 +84,7 @@ public: private: void thread (); + void terminate_thread (bool); void check_existing_picture_mxf (); bool check_existing_picture_mxf_frame (FILE *, int, Eyes); bool have_sequenced_image_at_queue_head (); |
