Skip to content

Commit f2f5645

Browse files
committed
fixed stream writer to capture all the log lines
1 parent 60f74bd commit f2f5645

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ffmpegio/streams/SimpleStreams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ def close(self):
383383
"""close the output stream"""
384384
if self._proc is None:
385385
return
386-
self._proc.stdin.close()
387-
self._proc.stderr.close()
386+
self._proc.stdin.close() # flushes the buffer first before closing
388387
self._proc.wait()
388+
self._proc.stderr.close()
389389
self._logger.join()
390390

391391
@property

0 commit comments

Comments
 (0)