Skip to content

egl_gbm: set surface and its buffers to null pointer after destroy

Fatih Uzunoğlu requested to merge fuzun/vlc:eglgbmcrashfix into master

Currently, the surface and its buffers are destroyed but the buffer objects are not set to null pointer. Because of this, it is tried to call gbm_surface_release_buffer() with a new surface and buffer of an already gone surface.

This causes crash on Wayland with Nvidia.

Request review @chub.

Merge request reports

Loading