summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-15 01:56:31 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-22 00:27:06 +0200
commit93a706be8996dadfd6d307a942f304d4948d6020 (patch)
tree1cf4e7dae8d325de2829f81dc39ef0c7a0866dae /src/wx
parente3f056b2c857c0428d9eaca73639b34333311767 (diff)
Provide better information on what will happen to JPEG2000 content in inputs (part of #1471).j2k-passthru-information
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/video_panel.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 4be9a741f..56d995e9c 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -398,6 +398,7 @@ VideoPanel::film_content_changed (int property)
} else {
checked_set (_colour_conversion, 0);
}
+ setup_description ();
} else if (check.size() > 1) {
/* Add a "many" entry and select it as an indication that multiple different
* colour conversions are present in the selection.
@@ -436,6 +437,7 @@ VideoPanel::film_content_changed (int property)
} else {
_fade_in->clear ();
}
+ setup_description ();
} else if (property == VideoContentProperty::FADE_OUT) {
set<Frame> check;
BOOST_FOREACH (shared_ptr<const Content> i, vc) {
@@ -450,6 +452,7 @@ VideoPanel::film_content_changed (int property)
} else {
_fade_out->clear ();
}
+ setup_description ();
} else if (property == DCPContentProperty::REFERENCE_VIDEO) {
if (vc.size() == 1) {
shared_ptr<DCPContent> dcp = dynamic_pointer_cast<DCPContent> (vc.front ());
@@ -511,7 +514,7 @@ VideoPanel::setup_description ()
return;
}
- string d = vc.front()->video->processing_description (_parent->film());
+ string d = vc.front()->video_processing_description (_parent->film());
size_t lines = count (d.begin(), d.end(), '\n');
for (int i = lines; i < 6; ++i) {