diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-31 22:20:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-31 22:20:30 +0100 |
| commit | 291e2fe2e7df95019feba8097b68b31ec64be794 (patch) | |
| tree | cdac55d0ed47721190529b3443664bd3f64aa862 /src/lib/content.cc | |
| parent | 7d9321ff829498c2c87d924a9b660acbfdafa6b3 (diff) | |
Restore some missing stuff to the content properties dialogue.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 10 |
1 files changed, 10 insertions, 0 deletions
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<UserProperty>& 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<string> (_video_frame_rate.get(), 5), _("frames per second"))); + } +} |
