mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
gtk, qt, gl: fix typo in debug and error messages
This commit is contained in:
parent
b8bb4cc50f
commit
9846984c63
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue