gstreamer/gst-libs/gst
Alex Ashley 792e9a6033 adaptivedemux: fix threading issues in gst_adaptive_demux_wait_until function
The gst_adaptive_demux_wait_until() function can be woken up either
by its end_time being reached, or from other threads that want to
interrupt the waiting thread.

If the thread is interrupted, it needs to cancel its async clock callback
by unscheduling the clock callback. However, the callback task might already
have been activated, but is waiting for the mutex to become available. In this
case, the call to unschedule does not stop the callback from executing.

The solution to this second issue is to use a reference counted object that
is decremented by both the gst_adaptive_demux_wait_until() function and the
call to gst_clock_id_wait_async (). In this way, the GstAdaptiveDemuxTimer
object is only deleted when both the gst_adaptive_demux_wait_until() function
and the async callback are finished with the object.

https://bugzilla.gnome.org/show_bug.cgi?id=765728
2016-05-06 09:42:41 +01:00
..
adaptivedemux adaptivedemux: fix threading issues in gst_adaptive_demux_wait_until function 2016-05-06 09:42:41 +01:00
audio base/audio/video: Install headers and pkg-config files 2016-01-22 12:39:48 +02:00
base aggregator: Check all pads for data when live 2016-04-26 06:54:37 -04:00
basecamerabinsrc Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
codecparsers codecparsers: mpegvideo: Parse more slice header fields 2016-04-15 01:22:52 +10:00
gl gl/egl: replace gsteglimagememory with an EGLImage wrapper 2016-05-04 13:31:48 +10:00
insertbin bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
interfaces docs: remove some leftover 'Since 0.10.x' markers 2016-02-03 21:16:18 +00:00
mpegts mpegtsmux: write language descriptor when language is available 2016-04-26 23:45:34 -03:00
player player: Add required paths via pkg-config for gstreamer-base-1.0 and gstreamer-video-1.0 for gobject-introspection 2016-04-29 15:15:30 +03:00
uridownloader dashdemux: add support for HTTP HEAD method of time sync 2015-08-14 06:47:21 -03:00
video videoaggregator: plug caps leak 2016-04-18 13:46:55 -03:00
wayland libs: Don't install headers and pc files for libgstwayland/badvideo/badbase 2014-07-11 09:33:57 +02:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
Makefile.am audio: Move audioaggregator base class to a library 2016-01-22 12:39:48 +02:00