From d51d49701e5880e35bbbade72c52bbec18f6e398 Mon Sep 17 00:00:00 2001 From: tassaron Date: Fri, 29 Apr 2022 21:17:02 -0400 Subject: ignore benign error from reading a closed pipe happens when the video is done exporting sometimes. Not worth fixing --- src/toolkit/ffmpeg.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/toolkit/ffmpeg.py') diff --git a/src/toolkit/ffmpeg.py b/src/toolkit/ffmpeg.py index 37c1511..256646e 100644 --- a/src/toolkit/ffmpeg.py +++ b/src/toolkit/ffmpeg.py @@ -128,9 +128,13 @@ class FfmpegVideo: try: self.currentFrame = self.pipe.stdout.read(self.chunkSize) - except ValueError: - FfmpegVideo.threadError = ComponentError( - self.component, 'video') + except ValueError as e: + if str(e) == "PyMemoryView_FromBuffer(): info->buf must not be NULL": + log.debug("Ignored 'info->buf must not be NULL' error from FFmpeg pipe") + return + else: + FfmpegVideo.threadError = ComponentError( + self.component, 'video') if len(self.currentFrame) != 0: self.frameBuffer.put((self.frameNo, self.currentFrame)) -- cgit v1.2.3 method='get'> 🚨 these dotfiles are HEAVILY tailored for my needs and setup. Feel free to explore and find ideas, but use at your own risk.
aboutsummaryrefslogtreecommitdiffstats
path: root/xfce4/desktop/icons.screen0-1904x1037.rc (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-10-12changed the always on top keybindingBlista Kanjo1-1/+1
2021-10-12added directional client swapping and focus handlingBlista Kanjo1-10/+23
2021-10-11added directional window snapping in a tiled layoutBlista Kanjo1-2/+2
2021-10-11added directional window snapping in a tiled layoutBlista Kanjo1-3/+13
2021-10-11changed picom start-up flagsBlista Kanjo1-1/+2
2021-10-11slight changes with keybinds for master clientsBlista Kanjo1-4/+4
2021-10-11changed alacritty color scheme to a more readable oneBlista Kanjo1-20/+22
2021-10-11conditional ttymouse=sgr implementedBlista Kanjo1-1/+4
2021-10-11made alacritty the default terminal emulatorBlista Kanjo3-3/+904
2021-10-10updated the package list (10/10/2021)Blista Kanjo1-1/+1
2021-10-10implemented garbage collection to avoid memory leaksBlista Kanjo1-0/+7
2021-10-10new main menu items and picom fixesBlista Kanjo2-1/+2
2021-10-10cleaned up code structure and modified mainmenuBlista Kanjo1-139/+18
2021-10-10updated the package list (10/10/2021)Blista Kanjo1-1/+2
2021-10-08fixed semicolons ;Blista Kanjo1-11/+11
2021-10-08new alias for showing a preview of webcamBlista Kanjo1-0/+1
2021-10-07added gtk-no-stencil=true optionBlista Kanjo1-1/+1
2021-10-07added gtk-no-stencil=true optionBlista Kanjo1-0/+1
2021-10-06changed to-do aliases for easier to reach keysBlista Kanjo2-3/+2
2021-10-06vim integrationBlista Kanjo1-2/+1