Skip to content

Conversation

@wulipc
Copy link
Contributor

@wulipc wulipc commented Oct 17, 2025

The current code overwrites video_fps with sampled_fps, which causes incorrect timestamp calculations.

@ywang96 Hey bro, could you please help review this? Thanks!

@wulipc wulipc requested a review from sighingnow as a code owner October 17, 2025 13:48
@mergify mergify bot added the qwen Related to Qwen models label Oct 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly fixes a bug where video timestamps were incorrectly calculated when frame sampling was enabled. The change introduces a new sampled_fps variable to avoid overwriting the original video_fps, ensuring the correct value is used for timestamp calculations. The fix is well-targeted and effectively resolves the issue.

@Isotr0py Isotr0py enabled auto-merge (squash) October 17, 2025 14:31
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 17, 2025
@DarkLight1337 DarkLight1337 added this to the v0.11.1 milestone Oct 17, 2025
@Isotr0py Isotr0py merged commit 4c91a28 into vllm-project:main Oct 17, 2025
56 of 57 checks passed
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
albertoperdomo2 pushed a commit to albertoperdomo2/vllm that referenced this pull request Oct 23, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
alhridoy pushed a commit to alhridoy/vllm that referenced this pull request Oct 24, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
ilmarkov pushed a commit to neuralmagic/vllm that referenced this pull request Nov 7, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
rtourgeman pushed a commit to rtourgeman/vllm that referenced this pull request Nov 10, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Zhathw pushed a commit to Zhathw/vllm that referenced this pull request Nov 12, 2025
…_sample_frames=True (vllm-project#27104)

Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants