mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gldisplay: Only use debugging if we have valid values
The debug category won't have been created/activated if it's not a valid display
This commit is contained in:
parent
290508932e
commit
1172e2875d
1 changed files with 4 additions and 3 deletions
|
@ -272,6 +272,7 @@ gst_context_set_gl_display (GstContext * context, GstGLDisplay * display)
|
|||
|
||||
g_return_if_fail (context != NULL);
|
||||
|
||||
if (display)
|
||||
GST_CAT_LOG (gst_context,
|
||||
"setting GstGLDisplay(%" GST_PTR_FORMAT ") on context(%" GST_PTR_FORMAT
|
||||
")", display, context);
|
||||
|
|
Loading…
Reference in a new issue