mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
glutils: only attempt getting the app context when we don't already have a display
avoids querying/messaging the world on each frame
This commit is contained in:
parent
e2f61d20a2
commit
d738b78229
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ gst_gl_ensure_element_data (gpointer element, GstGLDisplay ** display_ptr,
|
|||
*/
|
||||
display = *display_ptr;
|
||||
if (gst_gl_display_found (element, display))
|
||||
goto get_gl_context;
|
||||
goto done;
|
||||
|
||||
gst_gl_display_context_query (element, display_ptr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue