summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-06 21:03:16 +0200
committerCarl Hetherington <cth@carlh.net>2024-12-08 23:08:58 +0100
commit2eb78ba216199a49150832c89d324880d08c65d8 (patch)
tree5fd11cbd3daa2c12608e256928e7e024878ad52d /src
parent6333a3a0cb9266ea192626722250e539f3ab0d3b (diff)
Show sign language content in the list.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ffmpeg_content.cc4
-rw-r--r--src/wx/content_panel.cc1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index 5a99ecaa5..ab741db5e 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -346,7 +346,9 @@ FFmpegContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
string
FFmpegContent::summary () const
{
- if (video && audio) {
+ if (video && video->type() == VideoType::SIGN_LANGUAGE) {
+ return String::compose(_("%1 [sign language]"), path_summary());
+ } else if (video && audio) {
return String::compose (_("%1 [movie]"), path_summary());
} else if (video) {
return String::compose (_("%1 [video]"), path_summary());
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 7d329aaed..d7aa73f48 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -867,6 +867,7 @@ ContentPanel::film_content_changed (int property)
{
if (
property == ContentProperty::PATH ||
+ property == VideoContentProperty::TYPE ||
property == DCPContentProperty::NEEDS_ASSETS ||
property == DCPContentProperty::NEEDS_KDM ||
property == DCPContentProperty::NAME