Skip to content

Commit

Permalink
Fix #422 slow startup using osd-scale-by-window=no
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed May 22, 2022
1 parent 5b57e62 commit 6bd4540
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@

- New feature to change profile using the command palette.
- Progress command shows time and date.
- New show-santa-logo (green and grumpy) option.
- New quick bookmark feature, see manual.
- Fix crash choosing Matroska edition in the menu.
- Fix auto-play not working with user scripts.
- Progress command shows time and date.
- When input.conf is created on the very first start and a
script-opts folder does not exist, a script-opts folder
is created with defaults for osc and console.
- Support mpv idle property, see manual for remarks.
- Fix crash choosing Matroska edition in the menu.
- Fix auto-play not working with user scripts.
- Fix slow startup using osd-scale-by-window=no.
- libmpv shinchiro 2022-05-17 with idle fix


Expand Down
3 changes: 3 additions & 0 deletions src/Misc/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ public void Init(IntPtr handle)
ShowLogo();
});

if (!GetPropertyBool("osd-scale-by-window"))
App.StartThreshold = 0;

Initialized?.Invoke();
InvokeAsync(InitializedAsync);
}
Expand Down

0 comments on commit 6bd4540

Please sign in to comment.