We have: #if USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) #include <cairo-gl.h> #endif but in MediaPlayerPrivateGStreamerBase::nativeImageForCurrentTime(): #if !USE(CAIRO) || !ENABLE(ACCELERATED_2D_CANVAS) return nullptr; #endif I think the ifdef wrapping the #include should be USE(CAIRO) && ENABLE(OPENGL) or something similar.
The build error is that cairo_gl_device_set_thread_aware() isn't found because cairo-gl.h isn't included.
*** This bug has been marked as a duplicate of bug 161594 ***