gstreamer/gst
Sebastian Dröge 8177173db0 element: Add gst_element_call_async()
This calls a function from another thread, asynchronously. This is to be
used for cases when a state change has to be performed from a streaming
thread, directly via gst_element_set_state() or indirectly e.g. via SEEK
events.

Calling those functions directly from the streaming thread will cause
deadlocks in many situations, as they might involve waiting for the
streaming thread to shut down from this very streaming thread.

This is mostly a convenience function around a GThreadPool and is for example
used by GstBin to continue asynchronous state changes.

https://bugzilla.gnome.org/show_bug.cgi?id=760532
2016-04-27 18:51:33 +03:00
..
parse parse-launch: Add flag for placing elements in a bin instead of a pipeline 2016-03-24 14:50:12 +02:00
printf printf: On MSVC, also define HAVE_STDINT_H_WITH_UINTMAX 2016-02-20 10:07:37 +00:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
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 caps: add cleanup priv function 2016-04-26 14:29:08 +01: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 caps: add cleanup priv function 2016-04-26 14:29:08 +01:00
gstallocator.c allocator: add cleanup method 2016-04-18 11:33:32 -04: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 element: Add gst_element_call_async() 2016-04-27 18:51:33 +03:00
gstbin.h element: Add gst_element_call_async() 2016-04-27 18:51:33 +03:00
gstbuffer.c meta: Warn if a meta implementation is registered without init function 2016-04-13 10:21:15 +03: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 GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages 2016-04-02 18:18:10 +01: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 caps: add cleanup priv function 2016-04-26 14:29:08 +01:00
gstcaps.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcapsfeatures.c capsfeature: add cleanup priv function 2016-04-26 14:29:01 +01: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: Return FALSE in all paths that don't set out parameters in gst_clock_add_observation_unapplied() 2016-04-02 01:34:46 +03: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: Sanity check year, month and day when parsing ISO-8601 strings 2016-04-21 13:49:32 +03:00
gstdatetime.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdebugutils.c debugutils: fix enum/flag properties printing for elements 2016-03-26 17:21:51 +00: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: Add gst_element_call_async() 2016-04-27 18:51:33 +03:00
gstelement.h element: Add gst_element_call_async() 2016-04-27 18:51:33 +03: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 info: only open log file when adding it to the log function 2016-04-02 10:47:57 +01: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 memory: fix C++ compiler warnings with GST_MAP_INFO_INIT 2016-04-06 17:46:31 +01:00
gstmessage.c element: add API to get property change notifications via messages 2016-04-08 13:27:59 +01:00
gstmessage.h element: add API to get property change notifications via messages 2016-04-08 13:27:59 +01:00
gstmeta.c meta: Warn if a meta implementation is registered without init function 2016-04-13 10:21:15 +03: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 miniobject, memory, uri: warn on unused return value of some funcs 2016-03-26 11:35:39 +00:00
gstobject.c GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages 2016-04-02 18:18:10 +01:00
gstobject.h docs: Flesh out element and object macro accessor docs a bit 2016-03-10 10:07:07 +00:00
gstpad.c GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages 2016-04-02 18:18:10 +01:00
gstpad.h docs: fix some warnings and add some since markers 2016-01-03 17:50:35 +00:00
gstpadtemplate.c gstreamer: use new gst_element_class_add_static_pad_template() 2016-03-24 14:43:41 +02: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 parse-launch: Add flag for placing elements in a bin instead of a pipeline 2016-03-24 14:50:12 +02:00
gstparse.h parse-launch: Add flag for placing elements in a bin instead of a pipeline 2016-03-24 14:50:12 +02:00
gstpipeline.c GST_REFCOUNTING: Add logging of pointer address for dispose, finalize, etc messages 2016-04-02 18:18:10 +01: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 element: add API to get property change notifications via messages 2016-04-08 13:27:59 +01:00
gstquark.h element: add API to get property change notifications via messages 2016-04-08 13:27:59 +01: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: allow plugin and feature filter funcs to call registry API 2016-03-26 11:13:09 +00: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: print size and allocator details for buffers and memories 2016-03-26 13:46:58 +00: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 miniobject, memory, uri: warn on unused return value of some funcs 2016-03-26 11:35:39 +00:00
gstutils.c utils: check the correct element's state on ghosting pads 2016-04-06 23:26:41 +10:00
gstutils.h utils: expose pad_link_maybe_ghosting 2016-04-06 23:26:41 +10: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