Skip to content

gl/cocoa: Return a strong ref to the parent GstGLContext

Jan Schmidt requested to merge thaytan/gstreamer:caopengllayer-ref-context into main

If the GstGLCAOpenGLLayer was initialized via a parent context, make sure to ref the context before returning it from getGLContext as all callers will unref it.

Follow up to !3729 (merged)

Merge request reports