From 6e236481a16ad6d5dd726d10979090ca4c20c679 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 21 Nov 2023 13:13:57 +0000 Subject: [PATCH] Fix confdir passing to workers --- cista/preview.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cista/preview.py b/cista/preview.py index 23580bf..a595057 100644 --- a/cista/preview.py +++ b/cista/preview.py @@ -100,7 +100,6 @@ def process_video(path, *, maxsize, quality): with av.open(str(path)) as container: stream = container.streams.video[0] stream.codec_context.skip_frame = "NONKEY" - stream.codec_context.threads = 1 rot = stream.side_data and stream.side_data.get(DISPLAYMATRIX) or 0 container.seek(container.duration // 8) img = next(container.decode(stream)).to_image()