gstreamer/subprojects/gst-plugins-base/gst-libs/gst/gl/cocoa
Matthew Waters 9cedabae5a gl/context/cocoa: ensure pixel format lives as long as the context
Under some circumstances, the CGLPixelFormatObj was being destroyed too
early which could lead to potential use-after-frees.

Fix by returning a reference when asked for the pixel format.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3154
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6524>
2024-04-03 10:28:08 +01:00
..
gstgl_cocoa_private.h gl/vulkan: Fix static linking on macOS 2022-10-24 00:48:08 +00:00
gstglcaopengllayer.h gl/cocoa: Store a weak reference to the GstGLWindow instead of the GstGLContext 2023-01-17 22:35:29 +05:30
gstglcaopengllayer.m gl/cocoa: Return a strong ref to the parent GstGLContext 2023-02-02 13:53:07 +00:00
gstglcontext_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstglcontext_cocoa.m gl/context/cocoa: ensure pixel format lives as long as the context 2024-04-03 10:28:08 +01:00
gstgldisplay_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstgldisplay_cocoa.m macos: Remove old NSApp workaround related code 2023-05-11 20:30:19 +02:00
gstglwindow_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstglwindow_cocoa.m macos: Fix glimagesink not respecting preferred size 2024-03-06 18:55:35 +00:00