diff options
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 20e0866a1..ac038678c 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -30,6 +30,7 @@ #include "exceptions.h" #include "frame_rate_change.h" #include "log.h" +#include "locale_convert.h" #include <dcp/raw_convert.h> #include <libcxml/cxml.h> #include <dcp/colour_matrix.h> @@ -456,8 +457,8 @@ VideoContent::processing_description () const void VideoContent::add_properties (list<UserProperty>& p) const { - p.push_back (UserProperty (UserProperty::VIDEO, _("Length"), raw_convert<string> (length ()), _("video frames"))); - p.push_back (UserProperty (UserProperty::VIDEO, _("Size"), raw_convert<string> (size().width) + "x" + raw_convert<string> (size().height))); + p.push_back (UserProperty (UserProperty::VIDEO, _("Length"), length (), _("video frames"))); + p.push_back (UserProperty (UserProperty::VIDEO, _("Size"), size().width + "x" + size().height)); } void |
