projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccf38a
)
Restore mysteriously-lost frame rate details in video tab.
author
Carl Hetherington
<cth@carlh.net>
Sun, 29 May 2016 22:23:14 +0000
(23:23 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 29 May 2016 22:23:14 +0000
(23:23 +0100)
src/lib/video_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/video_content.cc
b/src/lib/video_content.cc
index cef543387dcbb8fda7fcbae9dc201e9794a2cfa1..9ffc63c5d365906d0bbd2b66b4bd0bf16629b96b 100644
(file)
--- a/
src/lib/video_content.cc
+++ b/
src/lib/video_content.cc
@@
-403,6
+403,16
@@
VideoContent::processing_description () const
d << " (" << fixed << setprecision(2) << container_size.ratio () << ":1)\n";
}
+ if (_parent->video_frame_rate()) {
+ double const vfr = _parent->video_frame_rate().get ();
+
+ d << _("Content frame rate");
+ d << " " << fixed << setprecision(4) << vfr << "\n";
+
+ FrameRateChange frc (vfr, film->video_frame_rate ());
+ d << frc.description () << "\n";
+ }
+
return d.str ();
}