Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'script-opts = osc-vidscale=no' and/or 'osd-scale-by-window = no' can delay startup up to 7 sec #422

Closed
User-3090 opened this issue May 21, 2022 · 3 comments
Assignees
Labels

Comments

@User-3090
Copy link

Describe the bug

script-opts = osc-vidscale=no

and/or

osd-scale-by-window = no

can delay startup of up to 7-10 seconds when launched with a file to play as argument. For some reason it does not happen every time. For me roughly every second launch. Cannot reproduce in vanilla MPV.

@stax76
Copy link
Collaborator

stax76 commented May 21, 2022

mpv.net waits getting the video size from mpv, before showing the Window, which does not happen with these settings.

There is a conf option Screen > start-threshold in the conf editor, which you can set to 0 to disable the waiting.

It has the downside that the window might resize and the original osc logo is visible, the logo issue will soon be fixed.

I hope that solves it.

More info:

#412

mpv-player/mpv#10201

@User-3090
Copy link
Author

cool, that fixes it! thanks!

@stax76
Copy link
Collaborator

stax76 commented May 22, 2022

You are very welcome.

I realized now it can be easily detected, so I made it automatic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants