gstreamer/gst-libs/gst
Carlos Garcia Campos 429353337d uridownloader: Take the ownership of the src element
The URI downloader is creating the source element with
gst_element_factory_make() that returns a floating reference that nobody
is consuming. This is causing problems in WebKit, where the smart
pointers used to take references of the source elment get confused and
end up consuming the floating reference and then releasing the element,
which usually crashes because the URI downloader still tries to use its
src element. See https://bugs.webkit.org/show_bug.cgi?id=144040.
This commit adds two helper functions to ensure and destroy the source
element, to make the code simpler and less error prone. The ensure
method takes care of checking if we can reuse the existing one or we
need to create a new one, taking always its ownership. The destroy
method simply avoids duplicated code to set the source to NULL state and
then unref it.

https://bugzilla.gnome.org/show_bug.cgi?id=766053
2016-05-06 15:26:59 +02: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 uridownloader: Take the ownership of the src element 2016-05-06 15:26:59 +02: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