mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-23 16:29:25 +08:00
Update comfy_api/latest/_input_impl/video_types.py
Adding a comment
This commit is contained in:
parent
e6077d86e9
commit
3c9f4585f9
@ -324,6 +324,8 @@ class VideoFromFile(VideoInput):
|
|||||||
|
|
||||||
checked_alpha = True
|
checked_alpha = True
|
||||||
|
|
||||||
|
# Fix non-deterministic video decode when the video width is not a multiple of 32
|
||||||
|
# For non-yuvj pixel formats (all H.264/H.265 video)
|
||||||
if image_format in ('gbrpf32le', 'gbrapf32le') and frame.width % 32 != 0:
|
if image_format in ('gbrpf32le', 'gbrapf32le') and frame.width % 32 != 0:
|
||||||
if align_graph is None:
|
if align_graph is None:
|
||||||
pad_w = ((frame.width + 31) // 32) * 32
|
pad_w = ((frame.width + 31) // 32) * 32
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user