mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
qt: initialize GError properly in gst_qt_get_gl_wrapcontext()
Spotted by Claus Stovgaard. Fixes #1545 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3327>
This commit is contained in:
parent
dd35ec3ddd
commit
edc2e8312e
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display,
|
|||
GstGLAPI G_GNUC_UNUSED gl_api;
|
||||
guintptr G_GNUC_UNUSED gl_handle;
|
||||
GstGLContext *current;
|
||||
GError *error;
|
||||
GError *error = NULL;
|
||||
|
||||
g_return_val_if_fail (display != NULL && wrap_glcontext != NULL, FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue