Bug 161482

Summary: [GStreamer] build fails with ACCELERATED_2D_CANVAS disabled
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Philippe Normand 2016-09-01 03:15:31 PDT
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.
Comment 1 Philippe Normand 2016-09-01 03:31:39 PDT
The build error is that cairo_gl_device_set_thread_aware() isn't found because cairo-gl.h isn't included.
Comment 2 Zan Dobersek 2016-09-04 23:58:22 PDT

*** This bug has been marked as a duplicate of bug 161594 ***