summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-11 12:49:23 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:14:06 +0100
commit94056bf7f8fdef32da3cd78eff68d58560b4e6be (patch)
tree937fad363dc94d65ec20fa2ff7aa3b303310d80f /src/lib/ffmpeg_content.cc
parent73654117144c6de0ec4efe39ddc88485df546cc9 (diff)
Replace incorrect uses of raw_convert with a new locale_convert.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index d64c82971..71cda084c 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -33,6 +33,7 @@
#include "exceptions.h"
#include "frame_rate_change.h"
#include "subtitle_content.h"
+#include "locale_convert.h"
#include <dcp/raw_convert.h>
#include <libcxml/cxml.h>
extern "C" {
@@ -566,7 +567,7 @@ FFmpegContent::add_properties (list<UserProperty>& p) const
p.push_back (UserProperty (UserProperty::VIDEO, _("Colourspace"), spaces[_colorspace]));
if (_bits_per_pixel) {
- p.push_back (UserProperty (UserProperty::VIDEO, _("Bits per pixel"), raw_convert<string> (_bits_per_pixel.get ())));
+ p.push_back (UserProperty (UserProperty::VIDEO, _("Bits per pixel"), _bits_per_pixel.get ()));
}
}