Restore mysteriously-lost frame rate details in video tab.
authorCarl Hetherington <cth@carlh.net>
Sun, 29 May 2016 22:23:14 +0000 (23:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 29 May 2016 22:23:14 +0000 (23:23 +0100)
src/lib/video_content.cc

index cef543387dcbb8fda7fcbae9dc201e9794a2cfa1..9ffc63c5d365906d0bbd2b66b4bd0bf16629b96b 100644 (file)
@@ -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 ();
 }