diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-18 17:42:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-18 17:42:58 +0000 |
| commit | d8a19dca28268e3ac92f117d00c1064c0b06515c (patch) | |
| tree | c3a9d9d6b25689c828578300c46361444bb72c1b /src/lib/video_content.cc | |
| parent | 1b81ba7c24e7f117d1960021d7e28c8f0147009f (diff) | |
Various improvements to the content properties dialogue (including #791).
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 514ecae2e..0fbcba7e0 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -579,11 +579,11 @@ VideoContent::processing_description () const } void -VideoContent::add_properties (list<pair<string, string> >& p) const +VideoContent::add_properties (list<UserProperty>& p) const { - p.push_back (make_pair (_("Video length"), raw_convert<string> (video_length ()) + " " + _("video frames"))); - p.push_back (make_pair (_("Video size"), raw_convert<string> (video_size().width) + "x" + raw_convert<string> (video_size().height))); - p.push_back (make_pair (_("Video frame rate"), raw_convert<string> (video_frame_rate()) + " " + _("frames per second"))); + p.push_back (UserProperty (_("Video"), _("Length"), raw_convert<string> (video_length ()), _("video frames"))); + p.push_back (UserProperty (_("Video"), _("Size"), raw_convert<string> (video_size().width) + "x" + raw_convert<string> (video_size().height))); + p.push_back (UserProperty (_("Video"), _("Frame rate"), raw_convert<string> (video_frame_rate()), _("frames per second"))); } double |
