X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent.cc;h=9083635f242eaea3f5aefe5445c1d25ccb6b8921;hb=b81241ce69a689629307832f802ac4faa6ed885f;hp=9c7e790402c157aa7ffec1ad20a7b1e79e30948d;hpb=b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f;p=dcpomatic.git diff --git a/src/lib/content.cc b/src/lib/content.cc index 9c7e79040..9083635f2 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -29,7 +29,8 @@ #include "film.h" #include "job.h" #include "compose.hpp" -#include "raw_convert.h" +#include +#include #include #include #include @@ -44,6 +45,8 @@ using std::vector; using std::max; 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; @@ -364,7 +367,7 @@ Content::add_properties (list& p) const UserProperty ( UserProperty::VIDEO, _("Frame rate"), - raw_convert (_video_frame_rate.get(), 5), + locale_convert (_video_frame_rate.get(), 5), _("frames per second") ) ); @@ -373,7 +376,7 @@ Content::add_properties (list& p) const UserProperty ( UserProperty::GENERAL, _("Prepared for video frame rate"), - raw_convert (_video_frame_rate.get(), 5), + locale_convert (_video_frame_rate.get(), 5), _("frames per second") ) );