mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Integrate with libass-android to support SSA/ASS subtitles in ExoPlayer (#1052)
## Description Add better ASS/SSA support to ExoPlayer by using [`libass-android`](https://github.com/peerless2012/libass-android). This is enabled with the "Use libass for ASS subtitles" advanced settings for ExoPlayer. It is enabled by default. ### Related issues Related to #22 Replaces reverted #569 Fixes #1107
This commit is contained in:
parent
95859be3c6
commit
b18416c954
13 changed files with 626 additions and 521 deletions
|
|
@ -40,14 +40,21 @@ message MpvOptions{
|
|||
bool use_gpu_next = 2;
|
||||
}
|
||||
|
||||
enum AssPlaybackMode{
|
||||
ASS_LIBASS = 0;
|
||||
ASS_EXO_PLAYER = 1;
|
||||
ASS_TRANSCODE = 2;
|
||||
}
|
||||
|
||||
message PlaybackOverrides{
|
||||
bool ac3_supported = 1;
|
||||
bool downmix_stereo = 2;
|
||||
bool direct_play_ass = 3;
|
||||
bool direct_play_ass = 3 [deprecated = true];
|
||||
bool direct_play_pgs = 4;
|
||||
MediaExtensionStatus media_extensions_enabled = 5;
|
||||
bool direct_play_dolby_vision_e_l = 6;
|
||||
bool decode_av1 = 7;
|
||||
AssPlaybackMode ass_playback_mode = 8;
|
||||
}
|
||||
|
||||
message PlaybackPreferences {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue