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

player/loadfile: prefer non-image when selecting video track #15345

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

kasper93
Copy link
Contributor

This fixes ytdl_hook, which would start playback with the thumbnail track selected. This issue occurs because the thumbnail track is added first. If the main track is not marked as default afterward, which it isn't for single streams, the first track (the image track) would be selected.

In general, if a non-image track is available, it should be preferred.

This fixes `ytdl_hook`, which would start playback with the thumbnail
track selected. This issue occurs because the thumbnail track is added
first. If the main track is not marked as default afterward, which it
isn't for single streams, the first track (the image track) would be
selected.

In general, if a non-image track is available, it should be preferred.
@kasper93 kasper93 merged commit 3e10309 into mpv-player:master Nov 22, 2024
22 of 25 checks passed
@kasper93 kasper93 deleted the timage branch November 22, 2024 20:14
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.

1 participant