From 291e2fe2e7df95019feba8097b68b31ec64be794 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 May 2016 22:20:30 +0100 Subject: Restore some missing stuff to the content properties dialogue. --- src/lib/content.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lib/content.cc') diff --git a/src/lib/content.cc b/src/lib/content.cc index 107a95644..7afbf924f 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -339,3 +339,13 @@ Content::active_video_frame_rate () const DCPOMATIC_ASSERT (film); return film->active_frame_rate_change(position()).source; } + +void +Content::add_properties (list& p) const +{ + p.push_back (UserProperty (_("General"), _("Filename"), path(0).string ())); + + if (_video_frame_rate) { + p.push_back (UserProperty (_("General"), _("Video frame rate"), raw_convert (_video_frame_rate.get(), 5), _("frames per second"))); + } +} -- cgit v1.2.3