Skip to content

waylandsink: free staged buffer when do gst_wl_window_finalize

Qi Hou requested to merge hq/gstreamer:fix-memory-leak into main

If waylandsink reveied buffer rate is high which causes frame drop, the cached staged buffer will be replaced when next buffer needs to be rendered and be freed after redraw. But there is chance to get memory leak if ended without redraw. So needd to free staged buffer when do gst_wl_window_finalize().

Merge request reports