Skip to content

gl/egl: destroy eglSurface before destroying wayland surface

Wonchul Lee requested to merge wonchul/gst-plugins-base:gl into master

I'm not sure this is really needed for other platforms but anyway I had a below problem, I'd appreciate it if you would consider this a necessary change.

It might be a problem when using a foreign wayland surface. In order to use a foreign surface, it destroys created surface and so does eglSurface. It needs to be destroyed eglSurface before destroying the wayland surface at some platforms.

Merge request reports