Lines Matching refs:current_frame
207 self.current_frame = None
210 self.current_frame = io.BytesIO()
213 if self.current_frame and self.current_frame.tell() > 0:
215 self.current_frame = None
218 if self.current_frame:
219 f = self.current_frame
239 self.current_frame = io.BytesIO()
242 if self.current_frame:
243 return self.current_frame.write(data)
249 if self.current_frame:
268 self.current_frame = None
271 if self.current_frame:
272 n = self.current_frame.readinto(buf)
274 self.current_frame = None
288 if self.current_frame:
289 data = self.current_frame.read(n)
291 self.current_frame = None
301 if self.current_frame:
302 data = self.current_frame.readline()
304 self.current_frame = None
314 if self.current_frame and self.current_frame.read() != b'':
317 self.current_frame = io.BytesIO(self.file_read(frame_size))