diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-12 09:10:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-12 09:14:09 +0100 |
| commit | b81241ce69a689629307832f802ac4faa6ed885f (patch) | |
| tree | 307eb7b6bb562553e6e92e8939d5c89f7111e66a /src/lib/ffmpeg_content.cc | |
| parent | 94056bf7f8fdef32da3cd78eff68d58560b4e6be (diff) | |
Move locale_convert into libdcp.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
| -rw-r--r-- | src/lib/ffmpeg_content.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 71cda084c..b5c5ce0a8 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -33,7 +33,6 @@ #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" { @@ -223,10 +222,10 @@ FFmpegContent::as_xml (xmlpp::Node* node) const node->add_child("FirstVideo")->add_child_text (raw_convert<string> (_first_video.get().get())); } - node->add_child("ColorRange")->add_child_text (raw_convert<string> (_color_range)); - node->add_child("ColorPrimaries")->add_child_text (raw_convert<string> (_color_primaries)); - node->add_child("ColorTransferCharacteristic")->add_child_text (raw_convert<string> (_color_trc)); - node->add_child("Colorspace")->add_child_text (raw_convert<string> (_colorspace)); + node->add_child("ColorRange")->add_child_text (raw_convert<string> (static_cast<int> (_color_range))); + node->add_child("ColorPrimaries")->add_child_text (raw_convert<string> (static_cast<int> (_color_primaries))); + node->add_child("ColorTransferCharacteristic")->add_child_text (raw_convert<string> (static_cast<int> (_color_trc))); + node->add_child("Colorspace")->add_child_text (raw_convert<string> (static_cast<int> (_colorspace))); if (_bits_per_pixel) { node->add_child("BitsPerPixel")->add_child_text (raw_convert<string> (_bits_per_pixel.get ())); } |
