Make pyav loading code handle tRNS PNG. (#13607)

This commit is contained in:
comfyanonymous
2026-04-28 14:59:55 -07:00
committed by GitHub
parent e514119e1e
commit c7a517c2f9

View File

@@ -284,7 +284,7 @@ class VideoFromFile(VideoInput):
if not checked_alpha:
for comp in frame.format.components:
if comp.is_alpha:
if comp.is_alpha or frame.format.name == "pal8":
alphas = []
image_format = 'gbrapf32le'
break