diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-09 22:24:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-09 22:29:40 +0100 |
| commit | 723f062e76370a142144a86df8c75fc2176c744e (patch) | |
| tree | 519cefaabd684e594fe6ec26d3864a971f71497d /src/lib/j2k_encoder.h | |
| parent | b603730979665f49af1ca72917c81df79dea6160 (diff) | |
It doesn't seem necessary to use shared_ptr for the DCPVideo queue in J2KEncoder.
Diffstat (limited to 'src/lib/j2k_encoder.h')
| -rw-r--r-- | src/lib/j2k_encoder.h | 2 |
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 */ |
