projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ebae1c
)
Add catch-all assertion.
author
Carl Hetherington
<cth@carlh.net>
Mon, 9 Nov 2020 00:12:10 +0000
(
01:12
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 16 Nov 2020 00:40:36 +0000
(
01:40
+0100)
src/wx/smpte_metadata_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/smpte_metadata_dialog.cc
b/src/wx/smpte_metadata_dialog.cc
index faf63d6cade749b5921540725da18dc5febad2cf..7ff9c6c52286634bbd0a62621b2025333accb99b 100644
(file)
--- a/
src/wx/smpte_metadata_dialog.cc
+++ b/
src/wx/smpte_metadata_dialog.cc
@@
-380,6
+380,8
@@
SMPTEMetadataDialog::luminance_changed ()
case 1:
unit = dcp::Luminance::FOOT_LAMBERT;
break;
+ default:
+ DCPOMATIC_ASSERT (false);
}
film()->set_luminance (dcp::Luminance(_luminance_value->GetValue(), unit));