mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
c2f34b9814
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 |
||
---|---|---|
.. | ||
.gitignore | ||
gstwaylandsink.c | ||
gstwaylandsink.h | ||
Makefile.am | ||
scaler.xml | ||
wlbuffer.c | ||
wlbuffer.h | ||
wldisplay.c | ||
wldisplay.h | ||
wlshmallocator.c | ||
wlshmallocator.h | ||
wlvideoformat.c | ||
wlvideoformat.h | ||
wlwindow.c | ||
wlwindow.h |