Skip to content

Commit 0e0b094

Browse files
committed
Fix misplaced gifski audio workaround
The audio input was changed to be discarded when outputting to the gifski format since gifs do not support audio and other non-audio supporting formats will silently ignore audio when it cannot be embedded. This fix was mistakenly added outside the appropriate conditional block and instead discarded all audio. This was not intended Resolves #521
1 parent f1c513a commit 0e0b094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-videohelpersuite"
33
description = "Nodes related to video workflows"
4-
version = "1.7.1"
4+
version = "1.7.2"
55
license = { file = "LICENSE" }
66
dependencies = ["opencv-python", "imageio-ffmpeg"]
77

videohelpersuite/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ def pad(image):
524524
if 'gifski_pass' in video_format:
525525
format = 'image/gif'
526526
output_process = gifski_process(args, dimensions, video_format, file_path, env)
527+
audio = None
527528
else:
528529
args += video_format['main_pass'] + bitrate_arg
529530
merge_filter_args(args)
@@ -532,7 +533,6 @@ def pad(image):
532533
output_process.send(None)
533534
if meta_batch is not None:
534535
meta_batch.outputs[unique_id] = (counter, output_process)
535-
audio = None
536536

537537
for image in images:
538538
pbar.update(1)

0 commit comments

Comments
 (0)