Revert "gstgldisplay: Add public foreign_display property"
authorMatthew Waters <matthew@centricular.com>
Thu, 16 Jul 2020 06:31:28 +0000 (16:31 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 20 Jul 2020 05:59:14 +0000 (05:59 +0000)
commite762f1b376ba8dcc191d0850903ee0976041242e
tree4607dc73d1b3b7f330fc306f70b320295d3d567d
parentaa4bea913b6fb0c5cb48796acdf2bd0ef33c3453
Revert "gstgldisplay: Add public foreign_display property"

This introduced a possible regression where the EGL display connection
could be leaked when a foreign native display (x11, wayland, etc) could
create a non-foreign EGL display that would never be destroyed.

The underlying problem needed to be solved in a different way.  See
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/640
for more details.

This reverts commit 2e686b0dad9700b10d91da5e91f34849fa7d32ae.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/758>
gst-libs/gst/gl/egl/gstgldisplay_egl.c
gst-libs/gst/gl/gstgldisplay.c
gst-libs/gst/gl/gstgldisplay.h
gst-libs/gst/gl/wayland/gstgldisplay_wayland.c
gst-libs/gst/gl/x11/gstgldisplay_x11.c