aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/szurubooru/func/images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/szurubooru/func/images.py b/server/szurubooru/func/images.py
index de41222..4d4011f 100644
--- a/server/szurubooru/func/images.py
+++ b/server/szurubooru/func/images.py
@@ -277,10 +277,10 @@ class Image:
proc = subprocess.Popen(
cli,
stdout=subprocess.PIPE,
- stdin=subprocess.PIPE,
+ stdin=subprocess.DEVNULL,
stderr=subprocess.PIPE,
)
- out, err = proc.communicate(input=self.content)
+ out, err = proc.communicate()
if proc.returncode != 0:
logger.warning(
"Failed to execute ffmpeg command (cli=%r, err=%r)",

© 2015 - 2026 Jakob L. Kreuze