projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8bd4ea
)
It's now safe to get _video_container_size without the lock.
author
Carl Hetherington
<cth@carlh.net>
Sat, 10 Sep 2022 17:13:58 +0000
(19:13 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 10 Sep 2022 21:21:06 +0000
(23:21 +0200)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 13cd8f11badcb35102f33af52249d3abdbcdc79c..b3f11c8000a62c086fa686d84868f5822b0ef7d1 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-307,10
+307,9
@@
Player::playlist_content_change (ChangeType type, int property, bool frequent)
{
if (property == VideoContentProperty::CROP) {
if (type == ChangeType::DONE) {
- auto const vcs = video_container_size();
boost::mutex::scoped_lock lm (_mutex);
for (auto const& i: _delay) {
- i.first->reset_metadata
(_film, vcs
);
+ i.first->reset_metadata
(_film, _video_container_size
);
}
}
} else {