summaryrefslogtreecommitdiff
path: root/gst/geometrictransform
diff options
context:
space:
mode:
authorAaron Boxer <aaron.boxer@collabora.com>2019-09-02 15:08:44 -0400
committerAaron Boxer <aaron.boxer@collabora.com>2019-11-05 09:11:25 -0500
commit6d3429af34ed0b5905faf32d2f22b9db2451f116 (patch)
treef18e8fed7a80ddd4db89a76bab109fcd37a76819 /gst/geometrictransform
parent2386858a9179aff2ec249bdffa904bf407de455f (diff)
downloadgstreamer-plugins-bad-6d3429af34ed0b5905faf32d2f22b9db2451f116.tar.gz
documentation: fixed a heap o' typos
Diffstat (limited to 'gst/geometrictransform')
-rw-r--r--gst/geometrictransform/gstbulge.c2
-rw-r--r--gst/geometrictransform/gststretch.c2
-rw-r--r--gst/geometrictransform/gsttunnel.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gst/geometrictransform/gstbulge.c b/gst/geometrictransform/gstbulge.c
index 01e850b12..315aa0cd2 100644
--- a/gst/geometrictransform/gstbulge.c
+++ b/gst/geometrictransform/gstbulge.c
@@ -139,7 +139,7 @@ bulge_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
gdouble width = gt->width;
gdouble height = gt->height;
- /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */
+ /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */
norm_x = 2.0 * (x / width - cgt->x_center);
norm_y = 2.0 * (y / height - cgt->y_center);
diff --git a/gst/geometrictransform/gststretch.c b/gst/geometrictransform/gststretch.c
index 114a0cd22..77086f07d 100644
--- a/gst/geometrictransform/gststretch.c
+++ b/gst/geometrictransform/gststretch.c
@@ -139,7 +139,7 @@ stretch_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
gdouble height = gt->height;
gdouble a, b;
- /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */
+ /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */
norm_x = 2.0 * (x / width - cgt->x_center);
norm_y = 2.0 * (y / height - cgt->y_center);
diff --git a/gst/geometrictransform/gsttunnel.c b/gst/geometrictransform/gsttunnel.c
index 8668a5282..2dd9c41e3 100644
--- a/gst/geometrictransform/gsttunnel.c
+++ b/gst/geometrictransform/gsttunnel.c
@@ -87,7 +87,7 @@ tunnel_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
gdouble r;
- /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */
+ /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */
/* plus a little trick to obtain a perfect circle, normalize in a
* square with sides equal to MAX(width, height) */
norm_x = 2.0 * (x - cgt->x_center * width) / MAX (width, height);