(self, comptype, compname)
| 524 | return self._nframeswritten |
| 525 | |
| 526 | def setcomptype(self, comptype, compname): |
| 527 | if self._datawritten: |
| 528 | raise Error('cannot change parameters after starting to write') |
| 529 | if comptype not in ('NONE',): |
| 530 | raise Error('unsupported compression type') |
| 531 | self._comptype = comptype |
| 532 | self._compname = compname |
| 533 | |
| 534 | def getcomptype(self): |
| 535 | return self._comptype |