projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace incorrect uses of raw_convert with a new locale_convert.
[dcpomatic.git]
/
src
/
lib
/
content.cc
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index 0fd503edd5134a8a809a579801e2b23bbab1381f..536036ff7e2f047c0b46ad4cc5f309b18725c00d 100644
(file)
--- a/
src/lib/content.cc
+++ b/
src/lib/content.cc
@@
-27,6
+27,7
@@
#include "content_factory.h"
#include "exceptions.h"
#include "film.h"
#include "content_factory.h"
#include "exceptions.h"
#include "film.h"
+#include "locale_convert.h"
#include "job.h"
#include "compose.hpp"
#include <dcp/raw_convert.h>
#include "job.h"
#include "compose.hpp"
#include <dcp/raw_convert.h>
@@
-365,7
+366,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
+375,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")
)
);