Use factory defaults for getCodec().