waylandsink: remove the buffer from the surface when going PAUSED -> READY
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 16 Jun 2014 16:03:51 +0000 (18:03 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:30 +0000 (13:51 +0200)
commitc4616a550a9c9a22eeb108e2e5b9753590951880
tree874e7e84833aeb4b8e766a6749d181c5030b70ef
parent76c0007778d230d44307272a63ee033e5122e75f
waylandsink: remove the buffer from the surface when going PAUSED -> READY

This essentially hides the video and allows the application to
potentially draw a black background or whatever else it wants.
This allows to differentiate the "paused" and "stopped" modes
from the user's point of view.

Also reworded a comment there to make my thinking more clear,
since the "reason for keeping the display around" is not really
the exposed() calls, as there is no buffer shown in READY/NULL
anymore.
ext/wayland/gstwaylandsink.c