diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-14 19:27:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-14 19:27:04 +0100 |
| commit | 21e8238484af35ac207b01defe406e73445632be (patch) | |
| tree | 8985d03f7b5641fd4e160d5ca4cac253976d51ff /src/lib/video_content.cc | |
| parent | 5c09a82e483593fb37da0cad20679be735887613 (diff) | |
Make DCPVideoFrame use PlayerVideoFrame to store its image.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 783cddafa..40772980f 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -161,10 +161,7 @@ VideoContent::as_xml (xmlpp::Node* node) const node->add_child("VideoHeight")->add_child_text (raw_convert<string> (_video_size.height)); node->add_child("VideoFrameRate")->add_child_text (raw_convert<string> (_video_frame_rate)); node->add_child("VideoFrameType")->add_child_text (raw_convert<string> (static_cast<int> (_video_frame_type))); - node->add_child("LeftCrop")->add_child_text (raw_convert<string> (_crop.left)); - node->add_child("RightCrop")->add_child_text (raw_convert<string> (_crop.right)); - node->add_child("TopCrop")->add_child_text (raw_convert<string> (_crop.top)); - node->add_child("BottomCrop")->add_child_text (raw_convert<string> (_crop.bottom)); + _crop.as_xml (node); _scale.as_xml (node->add_child("Scale")); _colour_conversion.as_xml (node->add_child("ColourConversion")); } |
