Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demux_mkv: fix image detection #14065

Merged
merged 1 commit into from
May 5, 2024
Merged

Conversation

kasper93
Copy link
Contributor

@kasper93 kasper93 commented May 5, 2024

If blocks were already demuxed we would skip them and ask for new ones. For files with few blocks it would return EOF without actually checking the content.

Also make demux limit higher. In practice it doesn't matter, because if it is image, video track will have only 1 block. And if it is not image it will break on 2nd video block.

Fixes: #13975

If blocks were already demuxed we would skip them and ask for new ones.
For files with few blocks it would return EOF without actually checking
the content.

Also make demux limit higher. In practice it doesn't matter, because if
it is image, video track will have only 1 block. And if it is not image
it will break on 2nd video block.

Fixes: mpv-player#13975
Copy link

github-actions bot commented May 5, 2024

Download the artifacts for this pull request:

Windows
macOS

@kasper93 kasper93 merged commit 22ed5d0 into mpv-player:master May 5, 2024
15 checks passed
@kasper93 kasper93 deleted the mkv_img branch May 5, 2024 12:28
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.

track-list is incorrectly detecting the video track as an image in some videos
2 participants