summaryrefslogtreecommitdiff
path: root/src/picture_asset_writer_common.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
commit9e523d8a4062ad52330dff6c2ba50e54184c9bb2 (patch)
treecc10da19d90f9ad1d17066e152602c3f88e5bf2b /src/picture_asset_writer_common.cc
parent242d42f32a1fbcf9fb1fe64d8c98e907e407703d (diff)
No-op: whitespace.
Diffstat (limited to 'src/picture_asset_writer_common.cc')
-rw-r--r--src/picture_asset_writer_common.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/picture_asset_writer_common.cc b/src/picture_asset_writer_common.cc
index 0696bc48..43b84385 100644
--- a/src/picture_asset_writer_common.cc
+++ b/src/picture_asset_writer_common.cc
@@ -26,7 +26,7 @@ struct ASDCPStateBase
ASDCPStateBase ()
: frame_buffer (4 * Kumu::Megabyte)
{}
-
+
ASDCP::JP2K::CodestreamParser j2k_parser;
ASDCP::JP2K::FrameBuffer frame_buffer;
ASDCP::WriterInfo writer_info;
@@ -39,7 +39,7 @@ template <class P, class Q>
void dcp::start (PictureAssetWriter* writer, shared_ptr<P> state, Standard standard, Q* asset, uint8_t* data, int size)
{
asset->set_file (writer->_file);
-
+
if (ASDCP_FAILURE (state->j2k_parser.OpenReadFrame (data, size, state->frame_buffer))) {
boost::throw_exception (MiscError ("could not parse J2K frame"));
}
@@ -49,9 +49,9 @@ void dcp::start (PictureAssetWriter* writer, shared_ptr<P> state, Standard stand
asset->set_size (Size (state->picture_descriptor.StoredWidth, state->picture_descriptor.StoredHeight));
asset->set_screen_aspect_ratio (Fraction (state->picture_descriptor.AspectRatio.Numerator, state->picture_descriptor.AspectRatio.Denominator));
-
+
asset->fill_writer_info (&state->writer_info, asset->id(), standard);
-
+
Kumu::Result_t r = state->mxf_writer.OpenWrite (
asset->file().string().c_str(),
state->writer_info,