projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba90df3
)
Add frame rate to technical summary of content.
author
Carl Hetherington
<cth@carlh.net>
Tue, 25 Sep 2018 21:06:42 +0000
(22:06 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 25 Sep 2018 21:06:52 +0000
(22:06 +0100)
src/lib/content.cc
patch
|
blob
|
history
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index c2cb7e005969327fc94e54cc40be3ef912e6153e..3ab4a5959a81cbb8ecdc42eca672b822add569c7 100644
(file)
--- 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