Skip to content

Allow chunking with filter

Andre Offringa requested to merge chunking-with-filter into master

This fixes a bug when using chunking + a filter, as reported by @alex.

The old procedure would call addToMs separately from the Dp3 class, independently of whether a MS is written. This is changed to make writers responsible for calling addToMs(), either in their finish() method or earlier when e.g. they perform chunking and going to the next ms. When no (BDA)MSWriter or MSUpdater is present, addToMs() will no longer be called. This system is now also streaming-proof, which might be added to Dp3 later.

Merge request reports

Loading