Skip to content

waylandsink: Fix double render check

Our code does not support rendering twice the same wl_buffer in a row, so it tries to skip that case, but for this it relied on the GstBuffer pointer, while the cache actually works at the GstMemory level now. To avoid this compare the GstWlBuffer instead.

This fixes crash when use in zero-copy with videorate element.

Merge request reports