waylandsink/waylandpool: ref the display instead of the sink to avoid cyclic references
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 26 Feb 2014 14:11:29 +0000 (16:11 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:23 +0000 (13:51 +0200)
commita67b08cdd0204c0d9e960f7ca112503e054ce1bb
tree8eece9ea18e8fea7c7e1c207ba7e475a0668e74f
parent253eafd4efd7b62f11a76ccc1c9a6391bfac7dbe
waylandsink/waylandpool: ref the display instead of the sink to avoid cyclic references

The reference to the sink is not really needed anyway in waylandpool,
what matters basically is that the display is active as long as the
pool is active, so we really want to reference the display object
instead of the sink.
ext/wayland/gstwaylandsink.c
ext/wayland/waylandpool.c
ext/wayland/waylandpool.h