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

--window-size broken when using per-file markers #3724

Closed
bergfried opened this issue Oct 25, 2016 · 2 comments
Closed

--window-size broken when using per-file markers #3724

bergfried opened this issue Oct 25, 2016 · 2 comments

Comments

@bergfried
Copy link

bergfried commented Oct 25, 2016

The --window-size option does not work properly with --{ and --} anymore. Only the very first encounter of --window-scale will be accepted but applied to all files, regardless of whether they are enclosed by the same per-file markers or not. Any subsequent encounter of --window-scale while playing will result in an

Error parsing option window-scale (option could not be parsed)

and will be rejected. Even --loop with only one file will do that as soon as the file is being played more than once. Examples:

mpv '--{' --window-scale=0.5 somefile '--}' '--{' --window-scale=0.25 otherfile '--}'
mpv --loop '--{' --window-scale=0.5 somefile '--}'

Using mpv 0.21.

@ghost
Copy link

ghost commented Oct 25, 2016

This happens because at the time of setting the second option there is a window, but no video size known, so it's rejected.

@ghost ghost closed this as completed in ee4bed2 Oct 25, 2016
@bergfried
Copy link
Author

Thank you very much.

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

No branches or pull requests

1 participant