diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-12 00:30:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-12 00:30:33 +0000 |
| commit | 3c414bf90d4cfcfe342c0b057b5134f72485fe32 (patch) | |
| tree | 543e3635577f04a58f1dc252fa0b888a4daeb005 /src/lib/content.cc | |
| parent | f851a375fc5bb9095def34c05a61f69e33139426 (diff) | |
Fix content properties (#1428).
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 1e73418b6..b288580cb 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -356,10 +356,10 @@ Content::path_summary () const /** @return a list of properties that might be interesting to the user */ list<UserProperty> -Content::user_properties () const +Content::user_properties (shared_ptr<const Film> film) const { list<UserProperty> p; - add_properties (p); + add_properties (film, p); return p; } @@ -423,7 +423,7 @@ Content::active_video_frame_rate (shared_ptr<const Film> film) const } void -Content::add_properties (list<UserProperty>& p) const +Content::add_properties (shared_ptr<const Film>, list<UserProperty>& p) const { p.push_back (UserProperty (UserProperty::GENERAL, _("Filename"), path(0).string ())); |
