Skip to content

glcontext/egl: Ask for an alpha channel and fallback

While this was already possible through the GLContext machinary, this simply request an alpha channel by default and fallback if this is not possible. This obsolete some RPi Dispmanx hack, since this is near equivalent and will allow to see through when playing WebM Alpha or other transparent files.

Application are still free to pass their own EGLContext attribute, this is specially for the case the application let GStreamer chose (e.g. gst-launch).

@ystreet let me know what you think of this suggestion. With this I can test stringers with:

gst-play-1.0 --videosink="glimagesink ignore-alpha=0" string.webm

It is simply more convenient then having to write a Gst GL app for that purpose.

Edited by Matthew Waters

Merge request reports