waylandsink: remove the ugly gst_wl_display_stop() now that this mechanism is not...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 23 Jun 2014 14:27:01 +0000 (17:27 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Sat, 11 Oct 2014 12:57:13 +0000 (14:57 +0200)
commit4377a5d71cf400cdc6b405f744fcf31c007acd62
treee6d9ad874d72c058cfbaef86426a68bde6929e2c
parentd7bddb0c51db0b44da7b377d36d235d5cf8ba5ed
waylandsink: remove the ugly gst_wl_display_stop() now that this mechanism is not needed anymore

Because we no longer have a custom buffer pool that holds a reference
to the display, there is no way for a cyclic reference to happen like
before, so we no longer need to explicitly call a function from the
display to release the wl_buffers.

However, the general mechanism of registering buffers to the display
and forcibly releasing them when the display is destroyed is still
needed to avoid potential memory leaks. The comment in wlbuffer.c
is updated to reflect the current situation.
ext/wayland/gstwaylandsink.c
ext/wayland/wlbuffer.c
ext/wayland/wldisplay.c
ext/wayland/wldisplay.h