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

Implement AutoFit option in mpv #18

Closed
Cpuroast opened this issue Jan 20, 2013 · 1 comment
Closed

Implement AutoFit option in mpv #18

Cpuroast opened this issue Jan 20, 2013 · 1 comment

Comments

@Cpuroast
Copy link

Setting the following option would start video playback with a window size of 1 to 100% of the display's resolution, scaling up or scaling down as needed taking into consideration of the video's aspect ratio and never display letter-boxing.

-autofit=75% or 0.75

Setting the following option would behave the same, however it would do so only if the video resolution is larger than the display's resolution, therefore it would only need to scale down and never scale up.

-autofit-larger=75% or 0.75

@ghost
Copy link

ghost commented Jan 23, 2013

Added as 7885fce.

Note that --autofit=75% means 75% of the width, while --autofit=75%x75% means 75% of either direction.

@ghost ghost closed this as completed Jan 23, 2013
haasn pushed a commit to haasn/mp that referenced this issue Sep 25, 2017
You can now either show the stats once or toggle their display. Both are
using different key bindings which are additionally configurable now.

Please bear in mind that "toggling" means "redraw every x seconds for x
seconds". Therefore, this approach is prone to problems especially when
something else is printing text to the OSD as well as every of these
calls will overwrite each other. This is currently a limitation of mpv.

Fixes mpv-player#18
haasn pushed a commit to haasn/mp that referenced this issue Sep 25, 2017
You can now either show the stats once or toggle their display. Both are
using different key bindings which are additionally configurable now.

Please bear in mind that "toggling" means "redraw every x seconds for x
seconds". Therefore, this approach is prone to problems especially when
something else is printing text to the OSD as well as every of these
calls will overwrite each other. This is currently a limitation of mpv.

Fixes mpv-player#18
ghost pushed a commit that referenced this issue Oct 9, 2017
You can now either show the stats once or toggle their display. Both are
using different key bindings which are additionally configurable now.

Please bear in mind that "toggling" means "redraw every x seconds for x
seconds". Therefore, this approach is prone to problems especially when
something else is printing text to the OSD as well as every of these
calls will overwrite each other. This is currently a limitation of mpv.

Fixes #18
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