gstreamer/ext/wayland
George Kiagiadakis c2f34b9814 waylandsink: don't advertise the local wl_display context
This wl_display proxy is temporary only until waylandsink goes NULL,
at which point the connection to the display is disposed. Unfortunately,
if this is advertised as a GstContext, playbin will cache it and re-feed
it to the sink when it goes PLAYING again, but the wl_display pointer
will at that point be invalid and cause a crash.

Another solution to the problem would be to also cache the GstWlDisplay
object inside the GstContext, which would automatically ref-count
the display connection, but I see no reason in doing that at the moment,
as there are no known users of this GstContext outside waylandsink.
It's probably better to avoid chasing hidden refcounts.

https://bugzilla.gnome.org/show_bug.cgi?id=756567
2015-10-26 16:11:56 +01:00
..
.gitignore waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
gstwaylandsink.c waylandsink: don't advertise the local wl_display context 2015-10-26 16:11:56 +01: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: replace the custom GstWlShmMemory with GstFdMemory 2015-10-14 22:05:51 +02:00
scaler.xml waylandsink: Update wl_scaler to version 2 2014-06-17 13:51:26 +02:00
wlbuffer.c waylandsink: take into account the case where a pool may be destroyed together with GstWlDisplay 2014-10-11 14:57:14 +02:00
wlbuffer.h waylandsink: stack the video subsurface into another subsurface that covers the whole render rectangle 2014-10-11 14:57:14 +02:00
wldisplay.c waylandsink: rename GstWlDisplay::formats array to shm_formats 2015-10-14 22:05:52 +02:00
wldisplay.h waylandsink: rename GstWlDisplay::formats array to shm_formats 2015-10-14 22:05:52 +02:00
wlshmallocator.c waylandsink: replace the custom GstWlShmMemory with GstFdMemory 2015-10-14 22:05:51 +02:00
wlshmallocator.h waylandsink: replace the custom GstWlShmMemory with GstFdMemory 2015-10-14 22:05:51 +02:00
wlvideoformat.c waylandsink: rename video format conversion functions to indicate they are about wl_shm 2014-10-11 14:57:14 +02:00
wlvideoformat.h waylandsink: stack the video subsurface into another subsurface that covers the whole render rectangle 2014-10-11 14:57:14 +02:00
wlwindow.c rectangle: clear rectangle struct before use 2014-12-16 13:35:14 +01:00
wlwindow.h waylandsink: stack the video subsurface into another subsurface that covers the whole render rectangle 2014-10-11 14:57:14 +02:00