summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
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/lib/content.cc
parente3f056b2c857c0428d9eaca73639b34333311767 (diff)
Provide better information on what will happen to JPEG2000 content in inputs (part of #1471).j2k-passthru-information
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 4242477d4..79f50d985 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -511,3 +511,18 @@ Content::add_path (boost::filesystem::path p)
_paths.push_back (p);
_last_write_times.push_back (boost::filesystem::last_write_time(p));
}
+
+
+string
+Content::video_processing_description (boost::shared_ptr<const Film> film) const
+{
+ return video ? video->processing_description(film) : "";
+}
+
+
+string
+Content::audio_processing_description (boost::shared_ptr<const Film> film) const
+{
+ return audio ? audio->processing_description(film) : "";
+}
+