diff options
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"))); + } +} |
