summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-08-31 18:06:31 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-08-31 18:06:31 +0100
commit1cb3e8c5919e7773232d3ff6a7cc61cbb145298f (patch)
treef3168bd79d404ef0d00bac7b713a9594ca696804
parent2fc98af42166b3b493d4dab51c2b6cfde62448f1 (diff)
downloadgstreamer-plugins-bad-1cb3e8c5919e7773232d3ff6a7cc61cbb145298f.tar.gz
gtk, qt, gl: fix typo in debug and error messages
-rw-r--r--ext/gtk/gtkgstglwidget.c2
-rw-r--r--ext/qt/gstqtsink.cc4
-rw-r--r--ext/qt/qtitem.cc6
-rw-r--r--gst-libs/gst/gl/gstglcontext.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/ext/gtk/gtkgstglwidget.c b/ext/gtk/gtkgstglwidget.c
index 1b2cadb01..79599b46f 100644
--- a/ext/gtk/gtkgstglwidget.c
+++ b/ext/gtk/gtkgstglwidget.c
@@ -500,7 +500,7 @@ _get_gl_context (GtkGstGLWidget * gst_widget)
gst_gl_context_activate (priv->other_context, TRUE);
if (!gst_gl_context_fill_info (priv->other_context, &error)) {
- GST_ERROR ("failed to retreive gdk context info: %s", error->message);
+ GST_ERROR ("failed to retrieve gdk context info: %s", error->message);
g_object_unref (priv->other_context);
priv->other_context = NULL;
} else {
diff --git a/ext/qt/gstqtsink.cc b/ext/qt/gstqtsink.cc
index 40e66d8d7..9ff13b04c 100644
--- a/ext/qt/gstqtsink.cc
+++ b/ext/qt/gstqtsink.cc
@@ -303,7 +303,7 @@ gst_qt_sink_change_state (GstElement * element, GstStateChange transition)
if (!app) {
GST_ELEMENT_ERROR (element, RESOURCE, NOT_FOUND,
("%s", "Failed to connect to Qt"),
- ("%s", "Could not retreive QGuiApplication instance"));
+ ("%s", "Could not retrieve QGuiApplication instance"));
return GST_STATE_CHANGE_FAILURE;
}
@@ -327,7 +327,7 @@ gst_qt_sink_change_state (GstElement * element, GstStateChange transition)
if (!qt_sink->display || !qt_sink->context || !qt_sink->qt_context) {
GST_ELEMENT_ERROR (element, RESOURCE, NOT_FOUND,
- ("%s", "Could not retreive window system OpenGL configuration"),
+ ("%s", "Could not retrieve window system OpenGL configuration"),
(NULL));
return GST_STATE_CHANGE_FAILURE;
}
diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc
index 8c3e4b9be..9e9e28751 100644
--- a/ext/qt/qtitem.cc
+++ b/ext/qt/qtitem.cc
@@ -294,7 +294,7 @@ QtGLVideoItem::onSceneGraphInitialized ()
gst_gl_context_activate (this->priv->other_context, TRUE);
if (!gst_gl_context_fill_info (this->priv->other_context, &error)) {
- GST_ERROR ("%p failed to retreive qt context info: %s", this, error->message);
+ GST_ERROR ("%p failed to retrieve qt context info: %s", this, error->message);
g_object_unref (this->priv->other_context);
this->priv->other_context = NULL;
} else {
@@ -328,14 +328,14 @@ qt_item_init_winsys (QtGLVideoItem * widget)
}
if (!GST_IS_GL_DISPLAY (widget->priv->display)) {
- GST_ERROR ("%p failed to retreive display connection %" GST_PTR_FORMAT,
+ GST_ERROR ("%p failed to retrieve display connection %" GST_PTR_FORMAT,
widget, widget->priv->display);
g_mutex_unlock (&widget->priv->lock);
return FALSE;
}
if (!GST_GL_IS_CONTEXT (widget->priv->other_context)) {
- GST_ERROR ("%p failed to retreive wrapped context %" GST_PTR_FORMAT, widget,
+ GST_ERROR ("%p failed to retrieve wrapped context %" GST_PTR_FORMAT, widget,
widget->priv->other_context);
g_mutex_unlock (&widget->priv->lock);
return FALSE;
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
index dcf206375..d177df8b7 100644
--- a/gst-libs/gst/gl/gstglcontext.c
+++ b/gst-libs/gst/gl/gstglcontext.c
@@ -507,7 +507,7 @@ gst_gl_context_get_proc_address_with_platform (GstGLPlatform context_type,
/**
* gst_gl_context_get_current_gl_api:
- * @platform: the #GstGLPlatform to retreive the API for
+ * @platform: the #GstGLPlatform to retrieve the API for
* @major: (out): (allow-none): the major version
* @minor: (out): (allow-none): the minor version
*