summaryrefslogtreecommitdiff
path: root/src/lib/j2k_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-09 22:24:18 +0100
committerCarl Hetherington <cth@carlh.net>2022-05-02 00:31:28 +0200
commit925d97b8e51421bf509c5ffbe4abe8f77a6ca95e (patch)
tree9a1641342821c5896a00c28cf083fc5c79b880af /src/lib/j2k_encoder.h
parent266e3f1b80d1263ff3cc8b3afaecd6ca1f88983b (diff)
It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.v2.16.x-old
Diffstat (limited to 'src/lib/j2k_encoder.h')
-rw-r--r--src/lib/j2k_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h
index cea965309..ea0a2bef8 100644
--- a/src/lib/j2k_encoder.h
+++ b/src/lib/j2k_encoder.h
@@ -96,7 +96,7 @@ private:
std::shared_ptr<boost::thread_group> _threads;
mutable boost::mutex _queue_mutex;
- std::list<std::shared_ptr<DCPVideo>> _queue;
+ std::list<DCPVideo> _queue;
/** condition to manage thread wakeups when we have nothing to do */
boost::condition _empty_condition;
/** condition to manage thread wakeups when we have too much to do */