waylandsink: Clear window when pipeline is stopped
authorGuillermo Rodríguez <guille.rodriguez@gmail.com>
Tue, 28 Jan 2020 12:06:59 +0000 (13:06 +0100)
committerGuillermo Rodríguez <guille.rodriguez@gmail.com>
Tue, 28 Jan 2020 12:22:36 +0000 (13:22 +0100)
commit62ac77e620bd1be28caa1618ae0dc4bc8aa4c7b2
treee3e881d9076e41809a0f51da216cde3aec881cab
parentac9c9d8efc4595df480bb549149356069542af41
waylandsink: Clear window when pipeline is stopped

When a pipeline is stopped (actually when the waylandsink element
state changes from PAUSED to READY) the video surface is cleared, but
the opaque black surface behind is not. Fix this by actually clearing
both surfaces.
ext/wayland/wlwindow.c