diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:59:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:59:50 +0100 |
| commit | 05654d0e1799746a9df3ccab040c92e0ed825cac (patch) | |
| tree | 59f89a17bf9b9fd9e1056a55653724b616703a2c /src/lib/writer.cc | |
| parent | b63118dafbd7224e9196a40895d9c7cb96504717 (diff) | |
| parent | 6bc83f72f12c8513a1e9e9b6fd880697a73f968f (diff) | |
Merge master.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 33817ca6e..489135b84 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -241,11 +241,11 @@ void Writer::thread () try { - while (1) + while (true) { boost::mutex::scoped_lock lock (_mutex); - while (1) { + while (true) { if (_finish || _queued_full_in_memory > _maximum_frames_in_memory || have_sequenced_image_at_queue_head ()) { /* We've got something to do: go and do it */ @@ -530,7 +530,7 @@ Writer::check_existing_picture_mxf () ++N; } - while (1) { + while (true) { shared_ptr<Job> job = _job.lock (); assert (job); |
