gstreamer/ext/gl
Matthew Waters 11bb4454a8 glvideomixer: fix race retrieving the GL context from the display
_get_gl_context() can be called concurrently from either propose_allocation() or
decide_allocation().  If it so happens that this happens at the same time,
the check for whether we already had a GL context was outside the lock.  Inside
the lock and loop, the first thing that happens is that we unref the current GL
context (if valid) as if there was a conflict adding it to the display.  If the
timing was unlucky, subsequent use of the GL context would be referencing an
already unreffed GL context object resulting in a critical:

g_object_ref: assertion 'object->ref_count > 0' failed

https://bugzilla.gnome.org/show_bug.cgi?id=766703
2016-05-25 18:28:20 +10:00
..
gstglbasemixer.c glvideomixer: fix race retrieving the GL context from the display 2016-05-25 18:28:20 +10:00
gstglbasemixer.h glbasemixer: actually attempt to propose an allocation upstream 2016-05-14 16:35:29 +03:00
gstglmixer.c gl/egl: replace gsteglimagememory with an EGLImage wrapper 2016-05-04 13:31:48 +10:00
gstglmixer.h glmixer: Remove usage of GstGLMixerFrameData 2016-02-17 10:30:45 +11:00
gstglmixerbin.c glmixerbin: proxy the start-time-* properties from aggregator 2016-04-04 20:54:23 +10:00
gstglmixerbin.h gl: new glmixerbin element 2015-03-12 16:45:51 +00:00
gstglmosaic.c glmosaic: fix shader leak 2016-05-20 17:09:25 +02:00
gstglmosaic.h glmixer: Remove usage of GstGLMixerFrameData 2016-02-17 10:30:45 +11:00
gstglstereomix.c bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstglstereomix.h glmixer: Remove usage of GstGLMixerFrameData 2016-02-17 10:30:45 +11:00
gstglvideomixer.c gl: take the affine transformation in NDC 2016-05-14 16:35:29 +03:00
gstglvideomixer.h glmixer: Remove usage of GstGLMixerFrameData 2016-02-17 10:30:45 +11:00