Fix Qwen3.5 video processing when passing video_data in "processor_output" format (#22431)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user