mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Add experimental MPV player backend (#161)
Experimental MPV player backend Related to #14, #22, & #85 You can switch to MPV in advanced settings and toggle using hardware decoding or not. This uses code and buildscripts from https://github.com/mpv-android/mpv-android, plus other third party libraries to build MPV
This commit is contained in:
parent
d7b333e519
commit
6be2662d4e
84 changed files with 3987 additions and 289 deletions
|
|
@ -29,6 +29,15 @@ enum MediaExtensionStatus{
|
|||
MES_DISABLED = 2;
|
||||
}
|
||||
|
||||
enum PlayerBackend{
|
||||
EXO_PLAYER = 0;
|
||||
MPV = 1;
|
||||
}
|
||||
|
||||
message MpvOptions{
|
||||
bool enable_hardware_decoding = 1;
|
||||
}
|
||||
|
||||
message PlaybackOverrides{
|
||||
bool ac3_supported = 1;
|
||||
bool downmix_stereo = 2;
|
||||
|
|
@ -59,6 +68,8 @@ message PlaybackPreferences {
|
|||
PrefContentScale global_content_scale = 17;
|
||||
ShowNextUpWhen show_next_up_when = 18;
|
||||
bool one_click_pause = 19;
|
||||
PlayerBackend player_backend = 20;
|
||||
MpvOptions mpv_options = 21;
|
||||
}
|
||||
|
||||
message HomePagePreferences{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue