From 33b5cd5426c17c553506a93dac8e48fdf367089a Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 5 Jun 2015 09:35:39 -0300 Subject: [PATCH] Fix a common typo: retreive -> retrieve Seems to have been copy pasted around a few places --- ext/gl/caopengllayersink.m | 2 +- ext/gl/gstglfilterbin.c | 2 +- ext/gl/gstglmixerbin.c | 2 +- ext/gl/gstglsinkbin.c | 2 +- ext/gl/gstglsrcbin.c | 2 +- gst-libs/gst/gl/gstglcontext.c | 6 +++--- gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 2 +- tests/check/elements/glimagesink.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/gl/caopengllayersink.m b/ext/gl/caopengllayersink.m index e81541a41e..c2e3e027ea 100644 --- a/ext/gl/caopengllayersink.m +++ b/ext/gl/caopengllayersink.m @@ -22,7 +22,7 @@ * SECTION:element-caopengllayersink * * caopengllayersink renders incoming video frames to CAOpenGLLayer that - * can be retreived through the layer property and placed in the Core + * can be retrieved through the layer property and placed in the Core * Animation render tree. */ diff --git a/ext/gl/gstglfilterbin.c b/ext/gl/gstglfilterbin.c index a8e703e5d7..1dd43350aa 100644 --- a/ext/gl/gstglfilterbin.c +++ b/ext/gl/gstglfilterbin.c @@ -251,7 +251,7 @@ gst_gl_filter_bin_change_state (GstElement * element, GstStateChange transition) &self->filter); if (!self->filter) { - GST_ERROR_OBJECT (element, "Failed to retreive element"); + GST_ERROR_OBJECT (element, "Failed to retrieve element"); return GST_STATE_CHANGE_FAILURE; } if (!_connect_filter_element (self)) diff --git a/ext/gl/gstglmixerbin.c b/ext/gl/gstglmixerbin.c index ae8abef95a..d18c2d31e4 100644 --- a/ext/gl/gstglmixerbin.c +++ b/ext/gl/gstglmixerbin.c @@ -483,7 +483,7 @@ gst_gl_mixer_bin_change_state (GstElement * element, GstStateChange transition) gst_gl_mixer_bin_signals[SIGNAL_CREATE_ELEMENT], 0, &self->mixer); if (!self->mixer) { - GST_ERROR_OBJECT (element, "Failed to retreive element"); + GST_ERROR_OBJECT (element, "Failed to retrieve element"); GST_OBJECT_UNLOCK (element); return GST_STATE_CHANGE_FAILURE; } diff --git a/ext/gl/gstglsinkbin.c b/ext/gl/gstglsinkbin.c index 1f4bd531c3..1c9649a609 100644 --- a/ext/gl/gstglsinkbin.c +++ b/ext/gl/gstglsinkbin.c @@ -261,7 +261,7 @@ gst_gl_sink_bin_change_state (GstElement * element, GstStateChange transition) gst_gl_sink_bin_signals[SIGNAL_CREATE_ELEMENT], 0, &self->sink); if (!self->sink) { - GST_ERROR_OBJECT (element, "Failed to retreive element"); + GST_ERROR_OBJECT (element, "Failed to retrieve element"); return GST_STATE_CHANGE_FAILURE; } if (!_connect_sink_element (self)) diff --git a/ext/gl/gstglsrcbin.c b/ext/gl/gstglsrcbin.c index 76510a0498..2afbac56a0 100644 --- a/ext/gl/gstglsrcbin.c +++ b/ext/gl/gstglsrcbin.c @@ -241,7 +241,7 @@ gst_gl_src_bin_change_state (GstElement * element, GstStateChange transition) gst_gl_src_bin_signals[SIGNAL_CREATE_ELEMENT], 0, &self->src); if (!self->src) { - GST_ERROR_OBJECT (element, "Failed to retreive element"); + GST_ERROR_OBJECT (element, "Failed to retrieve element"); return GST_STATE_CHANGE_FAILURE; } if (!_connect_src_element (self)) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index f3ea1b1657..eb3b7e6260 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -411,7 +411,7 @@ gst_gl_context_new_wrapped (GstGLDisplay * display, guintptr handle, /** * gst_gl_context_get_current_gl_context: - * @context_type: a #GstGLPlatform specifying the type of context to retreive + * @context_type: a #GstGLPlatform specifying the type of context to retrieve * * Returns: The OpenGL context handle current in the calling thread or %NULL * @@ -446,7 +446,7 @@ gst_gl_context_get_current_gl_context (GstGLPlatform context_type) #endif if (!handle) - GST_WARNING ("Could not retreive current context"); + GST_WARNING ("Could not retrieve current context"); return handle; } @@ -711,7 +711,7 @@ _default_get_proc_address (GstGLContext * context, const gchar * name) * specific function does not exist, NULL is returned instead. * * Platform specfic functions (names starting 'egl', 'glX', 'wgl', etc) can also - * be retreived using this method. + * be retrieved using this method. * * Returns: a function pointer or NULL * diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c index 4adcc12258..bfa7741a47 100644 --- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c +++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c @@ -387,7 +387,7 @@ gst_gl_window_wayland_egl_open (GstGLWindow * window, GError ** error) if (!display->display) { g_set_error (error, GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, - "Failed to retreive Wayland display"); + "Failed to retrieve Wayland display"); return FALSE; } diff --git a/tests/check/elements/glimagesink.c b/tests/check/elements/glimagesink.c index 3c6bb8d30d..702cb0a611 100644 --- a/tests/check/elements/glimagesink.c +++ b/tests/check/elements/glimagesink.c @@ -126,7 +126,7 @@ GST_START_TEST (test_query_drain) caps = gst_pad_get_current_caps (srcpad); fail_unless (gst_caps_is_fixed (caps)); - /* Let's retreive the GstGLBufferPool to change its min + /* Let's retrieve the GstGLBufferPool to change its min * and max nb buffers. For that just send an allocation * query and change the pool config. */ query = gst_query_new_allocation (caps, TRUE);