Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player/loadfile: prefer non-image when selecting video track
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.
- Loading branch information