summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-25 22:06:42 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-25 22:06:52 +0100
commit1245a8bb685504f11733380077a564a783348433 (patch)
tree0934fdd306d254ed03c96cfb7c095ec6dc0453b1 /src/lib
parentba90df334784ba6a0a6b81e70da121c3d67f58a3 (diff)
Add frame rate to technical summary of content.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index c2cb7e005..3ab4a5959 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -295,7 +295,11 @@ Content::clone () const
string
Content::technical_summary () const
{
- return String::compose ("%1 %2 %3", path_summary(), digest(), position().seconds());
+ string s = String::compose ("%1 %2 %3", path_summary(), digest(), position().seconds());
+ if (_video_frame_rate) {
+ s += String::compose(" %1", *_video_frame_rate);
+ }
+ return s;
}
DCPTime