def _write_frames(self, id_, frames, jpeg_encode_quality=_DEFAULT_JPEG_QUALITY):
    for frame in frames:
        self._write_frame(id_, frame, jpeg_encode_quality)
def _write_frames(self, id_, frames, jpeg_encode_quality=_DEFAULT_JPEG_QUALITY):
    for frame in frames:
        self._write_frame(id_, frame, jpeg_encode_quality)