mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gldisplay: Fix inverted precondition
A GError argument must either be null or point to a NULL GError. https://developer.gnome.org/glib/stable/glib-Error-Reporting.html
This commit is contained in:
parent
62d0bac993
commit
873466a1f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue