mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add setting to change default content scaling (#77)
Closes #53 #71 Adds an advanced playback setting to set a different default global content scaling. It can still be changed per playback as well.
This commit is contained in:
parent
4269d27dad
commit
bafd635402
6 changed files with 48 additions and 2 deletions
|
|
@ -9,6 +9,15 @@ enum SkipSegmentBehavior{
|
|||
ASK_TO_SKIP = 2;
|
||||
}
|
||||
|
||||
enum PrefContentScale{
|
||||
FIT = 0;
|
||||
NONE = 1;
|
||||
CROP = 2;
|
||||
FILL = 3;
|
||||
Fill_WIDTH = 4;
|
||||
FILL_HEIGHT = 5;
|
||||
}
|
||||
|
||||
message PlaybackOverrides{
|
||||
bool ac3_supported = 1;
|
||||
bool downmix_stereo = 2;
|
||||
|
|
@ -35,6 +44,7 @@ message PlaybackPreferences {
|
|||
|
||||
PlaybackOverrides overrides = 15;
|
||||
int64 pass_out_protection_ms = 16;
|
||||
PrefContentScale global_content_scale = 17;
|
||||
}
|
||||
|
||||
message HomePagePreferences{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue