projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea167c5
)
gldisplay: Fix inverted precondition
author
Matthew Waters
<matthew@centricular.com>
Thu, 3 Nov 2016 07:19:58 +0000
(18:19 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Thu, 3 Nov 2016 07:21:55 +0000
(18:21 +1100)
A GError argument must either be null or point to a NULL GError.
https://developer.gnome.org/glib/stable/glib-Error-Reporting.html
gst-libs/gst/gl/gstgldisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldisplay.c
b/gst-libs/gst/gl/gstgldisplay.c
index
b680940
..
abfa123
100644
(file)
--- a/
gst-libs/gst/gl/gstgldisplay.c
+++ b/
gst-libs/gst/gl/gstgldisplay.c
@@
-397,7
+397,7
@@
gst_gl_display_create_context (GstGLDisplay * display,
g_return_val_if_fail (display != NULL, FALSE);
g_return_val_if_fail (p_context != NULL, FALSE);
- g_return_val_if_fail (error == NULL || *error
!
= NULL, FALSE);
+ g_return_val_if_fail (error == NULL || *error
=
= NULL, FALSE);
g_signal_emit (display, gst_gl_display_signals[CREATE_CONTEXT], 0,
other_context, &context);