summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Russo <spyroboy@dariorusso.ca>2016-12-20 10:18:45 -0500
committerwm4 <wm4@nowhere>2016-12-21 17:47:57 +0100
commit1ba352581687548ffc2664b94f831a3dd12d05fa (patch)
tree9d16a483cfb73e4c178e0eaa634937261beb9edb
parent99a4be4127a14fa757b1f39314d192c74a2a4722 (diff)
downloadmpv-1ba352581687548ffc2664b94f831a3dd12d05fa.tar.bz2
mpv-1ba352581687548ffc2664b94f831a3dd12d05fa.tar.xz
Fix mistakes in spelling and grammar
-rw-r--r--DOCS/man/options.rst2
-rw-r--r--video/out/wayland_common.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 0dd3aad59b..a81646f6a4 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2164,7 +2164,7 @@ Window
``50%x50%``
Forces the window width and height to half the screen width and
height. Will show black borders to compensate for the video aspect
- ration (with most VOs and without ``--no-keepaspect``).
+ ratio (with most VOs and without ``--no-keepaspect``).
``50%+10+10``
Sets the window to half the screen widths, and positions it 10
pixels below/left of the top left corner of the screen.
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index a41fb6680a..35d0dfed51 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -675,9 +675,9 @@ static void schedule_resize(struct vo_wayland_state *wl,
height = MPMIN(height, wl->display.current_output->height/scale);
}
- // don't keep the aspect ration in fullscreen mode, because the compositor
- // shows the desktop in the border regions if the video has not the same
- // aspect ration as the screen
+ // don't keep the aspect ratio in fullscreen mode because the compositor
+ // shows the desktop in the border regions if the video does not have the same
+ // aspect ratio as the screen
/* if only the height is changed we have to calculate the width
* in any other case we calculate the height */
switch (edges) {