gstreamer/tests/check/elements
Tim-Philipp Müller 7e4b164c12 fakesink: hack around crasher bug in g_object_notify() for out-of-band events
GObject may crash if two threads do concurrent g_object_notify() on the same
object. This may happen if fakesink receives an out-of-band event such as
FLUSH_START while processing a buffer or serialised event in the streaming
thread. Since this may happen with the default settings during a common
operation like a seek, and there seems to be little chance of a timely fix
in GObject (see #166020), we should hack around this issue by protecting all
of fakesink's direct g_object_notify() calls with a lock.

Also add unit test for the above.

Fixes #554460.
2009-05-31 19:17:33 +01:00
..
.gitignore Fix assertion in basetransform when the subclass chooses not to allocate a buffer in prepare_buffer(), and make capsf... 2008-09-28 21:19:15 +00:00
capsfilter.c Fix assertion in basetransform when the subclass chooses not to allocate a buffer in prepare_buffer(), and make capsf... 2008-09-28 21:19:15 +00:00
fakesink.c fakesink: hack around crasher bug in g_object_notify() for out-of-band events 2009-05-31 19:17:33 +01:00
fakesrc.c And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
fdsrc.c And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
filesink.c Don't use gst_element_get_pad(). 2008-05-21 15:57:52 +00:00
filesrc.c Don't use gst_element_get_pad(). 2008-05-21 15:57:52 +00:00
identity.c And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
multiqueue.c Don't use gst_element_get_pad(). 2008-05-21 15:57:52 +00:00
queue.c tests: Don't define global buffers variable, it's already defined by libgstcheck 2009-03-30 15:45:02 +02:00
tee.c check: Increase timeout for the tee test 2009-01-31 21:35:21 +00:00