diff --git a/gstreamer-gl/src/gl_context.rs b/gstreamer-gl/src/gl_context.rs index 81cffe92e..4b77cea7b 100644 --- a/gstreamer-gl/src/gl_context.rs +++ b/gstreamer-gl/src/gl_context.rs @@ -14,7 +14,7 @@ impl GLContext { handle: uintptr_t, context_type: GLPlatform, available_apis: GLAPI, - ) -> Option { + ) -> Option { from_glib_full(ffi::gst_gl_context_new_wrapped( display.as_ref().to_glib_none().0, handle,