Skip to content

gstreamer: add object_lock method to gst::Object

The methods gst_gl_display_get_gl_context_for_thread, gst_gl_display_create_context and gst_gl_display_add_context all requires the display objects object-lock to be held when called.

This MR adds an object_lock method to gst::Object and adds manual overrides for the methods in gst_gl::GLDisplay, that must be called with ObjectLockGuard<GLDisplay> to ensure that the object lock is held.

see #439 (closed)

Merge request reports

Loading