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
2729949b39
commit
285afe0861
@ -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…
x
Reference in New Issue
Block a user