mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Add setting to automatically switch between ExoPlayer & MPV (#736)
## Description The MPV backend is no longer considered experimental. This PR adds a setting for player backend "Prefer MPV" which uses MPV for all playback unless the video is HDR which then uses ExoPlayer. Switching occurs per video. So if there's a playlist with both SDR & HDR, the player will switch back and forth as needed. ### Related issues Closes #253 Related to #235
This commit is contained in:
parent
16ac02a3fd
commit
0639a7a1da
13 changed files with 892 additions and 648 deletions
|
|
@ -32,6 +32,7 @@ enum MediaExtensionStatus{
|
|||
enum PlayerBackend{
|
||||
EXO_PLAYER = 0;
|
||||
MPV = 1;
|
||||
PREFER_MPV = 2;
|
||||
}
|
||||
|
||||
message MpvOptions{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue