gstreamer/ext
René Stadler ae87731de5 pulsesink: prevent race condition causing ref leak
Since commit 8bfd80, gst_pulseringbuffer_stop doesn't wait for the
deferred call to be run before returning. This causes a race when
READY->NULL is executed shortly after, which stops the mainloop. This
leaks the element reference which is passed as userdata for the callback
(introduced in commit 7cf996, bug #614765).

The correct fix is to wait in READY->NULL for all outstanding calls to
be fired (since libpulse doesn't provide a DestroyNotify for the
userdata). We get rid of the reference passing from 7cf996 altogether,
since finalization from the callback would anyways lead to a deadlock.

Re-fixes bug #614765.
2011-07-05 16:36:17 +02:00
..
aalib various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
annodex various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
cairo cairotextoverlay: forward new segment events from the sink to the source 2011-05-26 11:35:01 +02:00
dv dvdemux: First query the peer duration in the requested format before converting to BYTES 2011-06-02 13:38:30 +02:00
esd various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
flac flacdec: also try upstream first for duration query in DEFAULT format 2011-05-23 13:25:44 +01:00
gconf switchsrc: Set the GST_ELEMENT_IS_SOURCE flag 2010-10-11 14:24:52 +02:00
gdk_pixbuf various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
hal various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
jack jack: fix unused-but-set-variable warnings with gcc-4.6 2011-04-16 13:33:45 +01:00
jpeg jpegdec: avoid crashing on invalid input without components 2011-07-04 14:32:27 +02:00
libcaca cacasink: fix masks and strides 2011-01-03 18:06:48 +01:00
libmng gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 14:32:00 +01:00
libpng pngdec: Remove temporary code 2011-04-24 18:53:50 -07:00
mikmod various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
pulse pulsesink: prevent race condition causing ref leak 2011-07-05 16:36:17 +02:00
raw1394 dv1394src: make the internal clock thread safe 2011-06-24 12:01:39 -07:00
shout2 various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
soup souphttpsink: code cleanup 2011-06-04 13:43:28 -07:00
speex pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling 2011-04-16 18:15:43 +01:00
taglib id3v2mux: Adds mapping for album artist 2010-09-08 17:07:53 -03:00
wavpack various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-13 17:39:36 +03:00
Makefile.am jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad 2011-01-02 15:26:30 +00:00