gstreamer/ext/wayland
George Kiagiadakis 0badc1f5fb waylandsink/wldisplay: verify that all the required interfaces have been found on the compositor
This allows waylandsink to fail gracefully before going to READY
in case one of the required interfaces does not exist. Not all
interfaces are necessary for all modes of operation, but it is
better imho to fail before going to READY if at least one feature
is not supported, than to fail and/or crash at some later point.

In the future we may want to relax this restriction and allow certain
interfaces not to be present under certain circumstances, for example
if there is an alternative similar interface available (for instance,
xdg_shell instead of wl_shell), but for now let's require them all.
Weston supports them all, which is enough for us now. Other compositors
should really implement them if they don't already. I don't like the
idea of supporting many different compositors with different sets of
interfaces implemented. wl_subcompositor, wl_shm and wl_scaler are
really essential for having a nice video sink. Enough said.
2014-06-17 13:51:30 +02:00
..
.gitignore waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
gstwaylandsink.c waylandsink: remove the buffer from the surface when going PAUSED -> READY 2014-06-17 13:51:30 +02:00
gstwaylandsink.h waylandsink: improve the way the video size is passed to wlwindow and also improve the code for window creation 2014-06-17 13:51:29 +02:00
Makefile.am waylandsink/Makefile.am: Fix scaler-client-protocol.h generation 2014-06-17 13:51:26 +02:00
scaler.xml waylandsink: Update wl_scaler to version 2 2014-06-17 13:51:26 +02:00
waylandpool.c waylandsink: Handle wl_buffer::release and don't reuse buffers that are not released 2014-06-17 13:51:24 +02:00
waylandpool.h waylandsink: Handle wl_buffer::release and don't reuse buffers that are not released 2014-06-17 13:51:24 +02:00
wldisplay.c waylandsink/wldisplay: verify that all the required interfaces have been found on the compositor 2014-06-17 13:51:30 +02:00
wldisplay.h waylandsink: create and maintain the subsurface inside the sink 2014-06-17 13:51:27 +02:00
wlvideoformat.c waylandsink: remove unused functions 2014-06-17 13:51:26 +02:00
wlvideoformat.h waylandsink: add G_BEGIN/END_DECLS on all headers for consistency 2014-06-17 13:51:27 +02:00
wlwindow.c waylandsink/wlwindow: do not commit a resize when it happens due to a video info change 2014-06-17 13:51:30 +02:00
wlwindow.h waylandsink: improve the way the video size is passed to wlwindow and also improve the code for window creation 2014-06-17 13:51:29 +02:00