mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gl: fix a double unref of the query when building without X
This commit is contained in:
parent
19724f6ece
commit
99c48c34c1
1 changed files with 1 additions and 2 deletions
|
@ -490,9 +490,8 @@ gst_gl_display_context_prepare (GstElement * element,
|
|||
if (*display_ptr)
|
||||
goto out;
|
||||
}
|
||||
gst_query_unref (query);
|
||||
|
||||
#if GST_GL_HAVE_WINDOW_X11
|
||||
gst_query_unref (query);
|
||||
query =
|
||||
_gst_gl_display_context_query (element, display_ptr,
|
||||
"gst.x11.display.handle");
|
||||
|
|
Loading…
Reference in a new issue