projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run clang-format on the previous commit.
[dcpomatic.git]
/
src
/
lib
/
j2k_encoder.cc
diff --git
a/src/lib/j2k_encoder.cc
b/src/lib/j2k_encoder.cc
index 7d2b95b1a4d53df31854f261c6a925d962d2b8fe..2177630929ddb9bf9053cc13ff946a068f06702c 100644
(file)
--- a/
src/lib/j2k_encoder.cc
+++ b/
src/lib/j2k_encoder.cc
@@
-94,7
+94,7
@@
J2KEncoder::pause()
{
if (Config::instance()->enable_gpu()) {
end(false);
{
if (Config::instance()->enable_gpu()) {
end(false);
-}
+
}
}
void
}
void
@@
-219,7
+219,7
@@
J2KEncoder::encode (shared_ptr<PlayerVideo> pv, DCPTime time)
threads = _threads->size();
} else {
threads = std::thread::hardware_concurrency();
threads = _threads->size();
} else {
threads = std::thread::hardware_concurrency();
-}
+
}
}
boost::mutex::scoped_lock queue_lock (_queue_mutex);
}
boost::mutex::scoped_lock queue_lock (_queue_mutex);