gstreamer/gst
Stian Selnes 14461df2d3 pad: Fix race between gst_element_remove_pad and state change
When going from READY to NULL all element pads are deactivated. If
simultaneously the pad is being removed from the element with
gst_element_remove_pad() and the pad is unparented, there is a race
where the deactivation will assert (g_critical) if the parent is lost at
the wrong time.

The proposed fix will check parent only once and retain it to avoid the
race.

https://bugzilla.gnome.org/show_bug.cgi?id=761912
2016-03-29 10:27:14 +03:00
..
parse parse_launch: make nicer log messages 2016-01-03 22:58:06 +01:00
printf printf: On MSVC, also define HAVE_STDINT_H_WITH_UINTMAX 2016-02-20 10:07:37 +00:00
.gitignore
gettext.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat.c Whenever we include windows.h, also define WIN32_LEAN_AND_MEAN 2016-02-20 10:07:42 +00:00
glib-compat.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gst-i18n-app.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst-i18n-lib.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst.c gst: ref/unref new enum types in gst_init/deinit 2016-01-18 09:11:00 +02:00
gst.h gst.h: Don't spew warnings if GST_USE_UNSTABLE_API is not defined 2016-01-16 16:00:16 +00:00
gst_private.h tracer: add an internal ptr format for tracer serialisation 2016-01-20 09:14:12 +01:00
gstallocator.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstallocator.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstatomicqueue.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstatomicqueue.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstbin.c bin: Post a LATENCY message with async-handling=TRUE if the PLAYING state is reached 2015-12-09 11:13:22 +02:00
gstbin.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstbuffer.c buffer: Check return value of gst_memory_map() 2016-02-23 17:23:43 +01:00
gstbuffer.h gstbuffer: fix GstParentBufferMeta GType name 2016-03-07 12:02:00 +01:00
gstbufferlist.c bufferlist: Warn if copying a buffer fails in gst_buffer_list_copy_deep() 2015-06-24 10:52:56 +02:00
gstbufferlist.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstbufferpool.c bufferpool: pass acquire params to alloc_buffer 2016-02-11 12:11:20 -05:00
gstbufferpool.h doc: Fix Since: marks 2015-06-13 20:19:59 -04:00
gstbus.c Revert "bus: change GstBusSource to hold a weak ref to GstBus" 2016-02-29 23:33:03 +02:00
gstbus.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcaps.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstcaps.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcapsfeatures.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstcapsfeatures.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstchildproxy.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstchildproxy.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstclock-linreg.c clock: Make linear regression x/y base start from maximum observation. 2015-02-07 04:38:39 +11:00
gstclock.c clock: adjust/unadjust_with_calibration() have a clock parameter but it's useless 2016-01-06 16:25:38 +02:00
gstclock.h docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstcompat.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstconfig.h.in docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstcontext.c context: fix some copy and paste leftover in docs 2015-11-10 17:37:22 -03:00
gstcontext.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcontrolbinding.c Don't compare booleans for equality to TRUE and FALSE 2014-12-01 09:51:37 +01:00
gstcontrolbinding.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcontrolsource.c controlsource: Annotate get_value[_array] as (method) 2015-11-30 23:17:32 +01:00
gstcontrolsource.h controlsource: fix GetValue and GetValueArray documentation 2016-01-08 18:24:06 +00:00
gstdatetime.c datetime: accept just a time as ISO 8601 string and use today's date then 2015-08-11 09:50:50 +01:00
gstdatetime.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdebugutils.c gst: Rename _priv_gst_info_start_time to _priv_gst_start_time and initialize it centrally 2016-01-07 18:41:25 +02:00
gstdebugutils.h docs: mention xdot utility to view .dot files directly 2015-10-16 15:59:49 +01:00
gstdevice.c device: fix comparison in _has_classesv() 2016-01-21 15:45:30 +00:00
gstdevice.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdevicemonitor.c GstDeviceMonitor: Clarify the behaviour of gst_device_monitor_add_filter 2016-01-14 22:07:51 +00:00
gstdevicemonitor.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdeviceprovider.c deviceprovider: Add method to hide devices from a provider 2015-08-08 15:21:50 +02:00
gstdeviceprovider.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdeviceproviderfactory.c docs: Fix documentation typos and inconsistencies 2014-07-09 09:22:11 +02:00
gstdeviceproviderfactory.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstelement.c element: minor docs fix 2016-03-01 19:50:26 +00:00
gstelement.h docs: Flesh out element and object macro accessor docs a bit 2016-03-10 10:07:07 +00:00
gstelementfactory.c element: emit tracer's element-new hook from 'constructed' 2015-10-29 07:27:35 -03:00
gstelementfactory.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstelementmetadata.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gsterror.c fixme: bump leftover 0.11 fixme comments 2014-09-25 21:27:03 +02:00
gsterror.h doc: Fix Since: marks 2015-06-13 20:19:59 -04:00
gstevent.c event: add some more documentation on stream-id 2016-02-22 16:21:31 +01:00
gstevent.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstformat.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstformat.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstghostpad.c Revert "ghostpad: Do nothing in _internal_activate_push_default" 2016-02-17 15:26:49 +01:00
gstghostpad.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstinfo.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstinfo.h docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstiterator.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstiterator.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstmacros.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstmemory.c memory: provide a mem_map_full that takes the GstMapInfo 2015-06-12 16:12:10 +10:00
gstmemory.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstmessage.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstmessage.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstmeta.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstmeta.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstminiobject.c gi: Skip mini object method that play with refcounting 2015-06-13 10:25:48 -04:00
gstminiobject.h doc: Fix annoation for GstMiniObject 2015-06-13 09:37:46 -04:00
gstobject.c gstobject: add gst_object_has_as_ancestor and deprecate previous function 2015-05-15 13:55:19 +02:00
gstobject.h docs: Flesh out element and object macro accessor docs a bit 2016-03-10 10:07:07 +00:00
gstpad.c pad: Fix race between gst_element_remove_pad and state change 2016-03-29 10:27:14 +03:00
gstpad.h docs: fix some warnings and add some since markers 2016-01-03 17:50:35 +00:00
gstpadtemplate.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstpadtemplate.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstparamspecs.c docs: remove outdated and pointless 'Last reviewed' lines from docs 2014-04-26 21:21:51 +01:00
gstparamspecs.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstparse.c docs: gst-launch -> gst-launch-1.0 in example pipelines 2015-05-10 11:35:50 +01:00
gstparse.h parse-launch: warn when still waiting to plug sub-pipelines after no-more-pads 2016-01-03 22:58:06 +01:00
gstpipeline.c pipeline: Add gst_pipeline_set_latency(), getter and GObject property 2015-06-11 12:55:34 +02:00
gstpipeline.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstplugin.c plugin: Only check for S_IFBLK if it is defined 2016-02-20 10:07:25 +00:00
gstplugin.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstpluginfeature.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstpluginfeature.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstpluginloader.c pluginloader: Fix typos 2015-03-25 23:36:54 +00:00
gstpluginloader.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstpoll.c poll: Prevent false-negative from WAKE_EVENT() on W32 2014-07-28 09:13:44 +02:00
gstpoll.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstpreset.c preset: Use GST_PRESET_PATH as an extension of the system path, not a replacement of the user path 2016-03-22 19:32:48 +02:00
gstpreset.h preset: add gst_preset_is_editable() 2014-12-12 21:49:16 +01:00
gstprotection.c protection/harness/systemclock: move declaration out of for loop initialization 2016-02-15 12:33:46 -03:00
gstprotection.h doc: Fix Since: marks 2015-06-13 20:19:59 -04:00
gstquark.c quarks: revert the quark changes, we not using them anymore 2015-10-05 20:59:39 +02:00
gstquark.h quarks: revert the quark changes, we not using them anymore 2015-10-05 20:59:39 +02:00
gstquery.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gstquery.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstregistry.c registry: Add plugins to the registry we are loading and not default one 2015-08-05 17:32:00 -04:00
gstregistry.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstregistrybinary.c DeviceProvider: Rename from DeviceMonitor 2014-06-26 14:45:30 -04:00
gstregistrybinary.h tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstregistrychunks.c registrychunks: remove unused macro 2016-02-16 17:53:10 -03:00
gstregistrychunks.h DeviceProvider: Rename from DeviceMonitor 2014-06-26 14:45:30 -04:00
gstsample.c sample: add gst_sample_set/get_buffer_list apis 2015-06-22 13:17:01 +02:00
gstsample.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstsegment.c segment: Return -1 if gst_segment_to_stream_time_full() considers the position not inside the segment 2015-10-26 10:53:35 +02:00
gstsegment.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gststructure.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gststructure.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstsystemclock.c systemclock: Fix wait/unschedule race 2016-02-10 08:59:33 -03:00
gstsystemclock.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsttaglist.c taglist: add guard to check writability when removing tags from a taglist 2016-02-28 13:59:48 +00:00
gsttaglist.h taglist: add GST_TAG_CONDUCTOR 2016-02-22 21:12:37 +00:00
gsttagsetter.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gsttagsetter.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttask.c Whenever we include windows.h, also define WIN32_LEAN_AND_MEAN 2016-02-20 10:07:42 +00:00
gsttask.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsttaskpool.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gsttaskpool.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsttoc.c toc: minor code clean-up 2014-11-02 20:18:38 +00:00
gsttoc.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsttocsetter.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gsttocsetter.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttrace.c alloctrace: show details of events and messages leaked 2015-10-16 12:00:50 +01:00
gsttrace.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gsttracer.c tracer.h: don't include private noinst header gsttracerutils.h in a public header 2016-01-17 00:00:51 +00:00
gsttracer.h tracer.h: don't include private noinst header gsttracerutils.h in a public header 2016-01-17 00:00:51 +00:00
gsttracerfactory.c docs: fix some warnings and add some since markers 2016-01-03 17:50:35 +00:00
gsttracerfactory.h docs: fix some warnings and add some since markers 2016-01-03 17:50:35 +00:00
gsttracerrecord.c tracerrecord: Remove useless NULL check and add assertion for making assumptions explicit 2016-03-02 10:37:09 +02:00
gsttracerrecord.h tracerrecord: don't leak the spec structures 2016-01-22 10:07:26 +01:00
gsttracerutils.c tracer: Initialize GstTracer _priv_tracers and quarks unconditionnally 2016-02-22 13:23:24 +01:00
gsttracerutils.h tracer: harmonize the query hooks 2016-01-07 23:03:48 +01:00
gsttypefind.c typefind: simplify registration code 2014-10-17 12:41:04 +02:00
gsttypefind.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gsttypefindfactory.c docs: annotate C examples as such 2016-02-15 17:45:15 +00:00
gsttypefindfactory.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsturi.c uri: add guard to make sure gstreamer is initialized 2016-02-02 10:56:35 +00:00
gsturi.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstutils.c utils: add 'transfer full' annotation to gst_pad_peer_query_caps 2016-03-21 10:23:53 +02:00
gstutils.h utils: use 'static inline' instead of 'inline static' for gtk-doc 2015-11-09 18:02:09 +00:00
gstvalue.c gstvalue: remove a half finishesh sentence in the docs 2016-01-20 10:02:37 +01:00
gstvalue.h gstvalue: Add GstFlagSet type 2015-05-25 16:23:33 +10:00
gstversion.h.in gstversion: Add missing include in .in file. 2015-08-15 13:26:12 +02:00
Makefile.am tracerrecord: add a log record class 2016-01-15 21:54:01 +01:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00