summaryrefslogtreecommitdiff
path: root/gst/geometrictransform
diff options
context:
space:
mode:
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);