gstreamer/gst-libs/gst/wayland
Dominique Martinet ff6442f6f9 gst-libs/gst/wayland: handle display passing better
failure to pass a display in 'handle' would result in uninitialized value
being returned, which would often segfault later down the road when trying
to initialize gstreamer context with it.
Check the return value of gst_structure_get() to make sure we return valid
data.

Furthermore, the gstglimagesink in gst-plugins-base also has a similar
mechanism but uses 'display' as field name to pass the value; instead of
requiring the application to behave differently depending on what sink
was automatically detected just try to read both values here, with display
being the new default.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2292>
2021-07-09 13:15:54 +00:00
..
meson.build gst-libs/gst/wayland: Install "unstable" wayland header 2020-12-03 14:54:47 +00:00
wayland.c gst-libs/gst/wayland: handle display passing better 2021-07-09 13:15:54 +00:00
wayland.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 14:45:56 +01:00