Set discardCorruptedFrames property.
If set to true the decoder will discard frames that are marked as corrupted instead of outputting them.
Set discardCorruptedFrames property.