diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mono_picture_asset_writer.cc | 2 | ||||
| -rw-r--r-- | src/stereo_picture_asset_writer.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mono_picture_asset_writer.cc b/src/mono_picture_asset_writer.cc index dd29c19a..7fd58114 100644 --- a/src/mono_picture_asset_writer.cc +++ b/src/mono_picture_asset_writer.cc @@ -106,6 +106,8 @@ MonoPictureAssetWriter::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; 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; |
