Fix Qwen3.5 video processing when passing video_data in "processor_output" format (#22431)

This commit is contained in:
Kehan Li
2026-04-19 00:04:01 +08:00
committed by GitHub
parent cd6ad80c00
commit 2a327f0877
@@ -162,7 +162,7 @@ async def preprocess_video(
# preprocessed video # preprocessed video
is_video_obj = isinstance(vr, VideoDecoderWrapper) is_video_obj = isinstance(vr, VideoDecoderWrapper)
if not is_video_obj: if not is_video_obj:
return vr return vr, None
entry_time = time.perf_counter() entry_time = time.perf_counter()
total_frames, video_fps = len(vr), vr.avg_fps total_frames, video_fps = len(vr), vr.avg_fps