gstreamer/ext/wayland
George Kiagiadakis c015a96dda waylandsink: create/destroy the display when entering/leaving the READY state instead of PAUSED
This is the only way to get the negotiation working with the dynamic
detection of formats from the display, because the pipeline needs
to know the supported formats in the READY state and the supported
formats can only be known if we open the display.

Unfortunately,in wayland we cannot have a separate connection to
the display from the rest of the application, so we need to ask for a
window handle when going to READY in order to get the display from it.

And since it's too early to create a top level window from the state
change to READY, create it in render() when there is no other window.

This also changes set_window_handle() to not support window handle
changes in PAUSED/PLAYING (because it's complex to handle and useless
in practice) and make sure that there is always a valid display pointer
around in the READY state.
2014-06-17 13:51:26 +02:00
..
.gitignore waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
gstwaylandsink.c waylandsink: create/destroy the display when entering/leaving the READY state instead of PAUSED 2014-06-17 13:51:26 +02:00
gstwaylandsink.h waylandsink: Use a boolean in combination with render_cond to comply with GCond's usage documentation 2014-06-17 13:51:25 +02:00
Makefile.am waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
scaler.xml waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +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: Use wl_scaler/wl_viewport to scale the surface in the compositor/hardware 2014-06-17 13:51:25 +02:00
wldisplay.h waylandsink: Use wl_scaler/wl_viewport to scale the surface in the compositor/hardware 2014-06-17 13:51:25 +02:00
wlvideoformat.c waylandsink/wlvideoformat: add mappings for many common formats 2014-06-17 13:51:23 +02:00
wlvideoformat.h waylandsink: split video format related functions out to a separate file 2014-06-17 13:51:21 +02:00
wlwindow.c waylandsink: set an empty input region on the video surface 2014-06-17 13:51:25 +02:00
wlwindow.h waylandsink: Use wl_scaler/wl_viewport to scale the surface in the compositor/hardware 2014-06-17 13:51:25 +02:00