Skip to content

Fix slop reports#18108

Merged
Dudemanguy merged 2 commits into
mpv-player:masterfrom
llyyr:fix-slop-reports
Jun 17, 2026
Merged

Fix slop reports#18108
Dudemanguy merged 2 commits into
mpv-player:masterfrom
llyyr:fix-slop-reports

Conversation

@llyyr

@llyyr llyyr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread video/out/vulkan/context.c
@llyyr llyyr force-pushed the fix-slop-reports branch from 0666090 to 49decdb Compare June 10, 2026 18:19
Comment thread audio/filter/af_scaletempo.c Outdated
memcpy(s->buf_overlap,
s->buf_queue + bytes_off + s->bytes_stride,
s->bytes_overlap);
if (s->output_overlap)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess you can put this memcpy into the if above, that's it's there already. Also make sure it works correctly after this change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The right check is actually if (s->buf_overlap && s->bytes_overlap), similar to how it's in af_scaletempo_reset. I've verified that things work

Overlap can be disabled with overlap=0 or very small stride values which
cause calculated overlap size to truncate down to 0.

Fixes: mpv-player#18107
@llyyr llyyr force-pushed the fix-slop-reports branch from 49decdb to 69b8d42 Compare June 12, 2026 17:47

@Dudemanguy Dudemanguy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Dudemanguy Dudemanguy merged commit 4acaa77 into mpv-player:master Jun 17, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants