mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
gl: fix a double unref of the query when building without X
This commit is contained in:
parent
312741634d
commit
e51e0a8869
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