diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-20 13:23:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-20 13:23:26 +0100 |
| commit | 39bc73fe192f932ed6695eb87b19de446e8b4f55 (patch) | |
| tree | 4811b0642b7fcd73206b037da4ffb342e90ce6dc /src/lib/video_content.cc | |
| parent | bb0a36c3a6bea9cd1ebdde7b8a3a04765e317569 (diff) | |
| parent | 884093edac5f63d26c02d411c73dfb52376ccf8f (diff) | |
Merge master.
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 a67a1777e..9c8ecf0bb 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")); } |
