diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_thread.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_thread.py b/src/video_thread.py index dc6db89..894a870 100644 --- a/src/video_thread.py +++ b/src/video_thread.py @@ -378,8 +378,8 @@ class Worker(QtCore.QObject): def closePipe(self): try: self.out_pipe.stdin.close() - except BrokenPipeError: - log.error('Broken pipe to ffmpeg!') + except (BrokenPipeError, OSError): + log.error('Broken pipe to FFmpeg!') if self.out_pipe.stderr is not None: log.error(self.out_pipe.stderr.read()) self.out_pipe.stderr.close() |
