projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another missing include.
[dcpomatic.git]
/
src
/
lib
/
content.cc
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index 0fd503edd5134a8a809a579801e2b23bbab1381f..9083635f242eaea3f5aefe5445c1d25ccb6b8921 100644
(file)
--- a/
src/lib/content.cc
+++ b/
src/lib/content.cc
@@
-29,6
+29,7
@@
#include "film.h"
#include "job.h"
#include "compose.hpp"
#include "film.h"
#include "job.h"
#include "compose.hpp"
+#include <dcp/locale_convert.h>
#include <dcp/raw_convert.h>
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
#include <dcp/raw_convert.h>
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
@@
-45,6
+46,7
@@
using std::max;
using std::pair;
using boost::shared_ptr;
using dcp::raw_convert;
using std::pair;
using boost::shared_ptr;
using dcp::raw_convert;
+using dcp::locale_convert;
int const ContentProperty::PATH = 400;
int const ContentProperty::POSITION = 401;
int const ContentProperty::PATH = 400;
int const ContentProperty::POSITION = 401;
@@
-365,7
+367,7
@@
Content::add_properties (list<UserProperty>& p) const
UserProperty (
UserProperty::VIDEO,
_("Frame rate"),
UserProperty (
UserProperty::VIDEO,
_("Frame rate"),
-
raw
_convert<string> (_video_frame_rate.get(), 5),
+
locale
_convert<string> (_video_frame_rate.get(), 5),
_("frames per second")
)
);
_("frames per second")
)
);
@@
-374,7
+376,7
@@
Content::add_properties (list<UserProperty>& p) const
UserProperty (
UserProperty::GENERAL,
_("Prepared for video frame rate"),
UserProperty (
UserProperty::GENERAL,
_("Prepared for video frame rate"),
-
raw
_convert<string> (_video_frame_rate.get(), 5),
+
locale
_convert<string> (_video_frame_rate.get(), 5),
_("frames per second")
)
);
_("frames per second")
)
);