projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around deadlock when destroying J2KEncoder with a full writer queue (#2784).
[dcpomatic.git]
/
src
/
lib
/
text_content.cc
diff --git
a/src/lib/text_content.cc
b/src/lib/text_content.cc
index e4cbc601a0774716354538f354213fdfe354f93f..92a35b8220cbca3f41c7302d9d8f0536a0b22ab9 100644
(file)
--- a/
src/lib/text_content.cc
+++ b/
src/lib/text_content.cc
@@
-148,8
+148,6
@@
TextContent::TextContent (Content* parent, cxml::ConstNodePtr node, int version,
_effect = dcp::Effect::BORDER;
} else if (node->optional_bool_child("Shadow").get_value_or(false)) {
_effect = dcp::Effect::SHADOW;
- } else {
- _effect = dcp::Effect::NONE;
}
auto effect = node->optional_string_child("Effect");