summaryrefslogtreecommitdiff
path: root/src/stereo_picture_asset_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stereo_picture_asset_writer.cc')
-rw-r--r--src/stereo_picture_asset_writer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stereo_picture_asset_writer.cc b/src/stereo_picture_asset_writer.cc
index b9120cd9..6ee271bc 100644
--- a/src/stereo_picture_asset_writer.cc
+++ b/src/stereo_picture_asset_writer.cc
@@ -100,6 +100,8 @@ StereoPictureAssetWriter::write (uint8_t const * data, int size)
boost::throw_exception (MiscError ("could not parse J2K frame"));
}
+ _state->frame_buffer.PlaintextOffset(0);
+
uint64_t const before_offset = _state->mxf_writer.Tell ();
string hash;