summaryrefslogtreecommitdiff
path: root/src/lib/writer.h
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/writer.h
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/writer.h')
-rw-r--r--src/lib/writer.h2
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 ();