gstreamer/gst
Edward Hervey d915dd4b20 gstpad: Make pad (de)activation atomic
The following could happen previously:
* T1: calls gst_pad_set_active()
* T2: currently (de)activating it
* T1: gst_pad_set_active() returns, caller assumes that the pad has
  completed the requested (de)activation ... whereas it is not
  the case since the actual (de)activation in T2 might still be
  going on.

To ensure atomicity of pad (de)activation, we use a internal
variable (and cond) to ensure only one thread at a time goes through
the actual (de)activation block

https://bugzilla.gnome.org/show_bug.cgi?id=790431
2017-11-16 10:55:36 +01:00
..
parse meson: find python3 via python3 module 2017-07-07 12:07:09 +01:00
printf meson: require meson 0.36 and use new pic arg on static libs 2016-11-14 19:21:13 +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 gst: Fix build with option parsing disabled 2017-10-25 17:10:15 +02:00
gst.h gst: API: gst_get_main_executable_path() 2017-09-27 20:59:54 +02:00
gst_private.h plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstallocator.c allocator: Hide private sysmem GType func 2017-08-14 11:01:44 +01:00
gstallocator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstatomicqueue.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstatomicqueue.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbin.c bin: iterate_sorted: Ensure sources are always returned last 2017-10-03 07:56:39 +02:00
gstbin.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbuffer.c gstbuffer: fix meta removal in gst_buffer_foreach_meta 2017-10-11 19:57:04 +02:00
gstbuffer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbufferlist.c bufferlist: add gst_buffer_list_calculate_size() 2017-09-17 12:35:25 +01:00
gstbufferlist.h bufferlist: add gst_buffer_list_calculate_size() 2017-09-17 12:35:25 +01:00
gstbufferpool.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstbufferpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbus.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstbus.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcaps.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcaps.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcapsfeatures.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcapsfeatures.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstchildproxy.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstchildproxy.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcompat.h Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstconfig.h.in gstconfig.h.in: initial e2k arch support 2017-09-12 14:01:57 -04:00
gstcontext.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontext.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolbinding.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontrolbinding.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolsource.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstcontrolsource.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdatetime.c datetime: fix potential out-of-bound read on malformed datetime string 2017-01-15 11:53:41 +00:00
gstdatetime.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdebugutils.c debugutils: add missing E character to the legend 2017-05-19 19:22:27 +02:00
gstdebugutils.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevice.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstdevice.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevicemonitor.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstdevicemonitor.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdeviceprovider.c device-provider: gst_device_provider_unhide_provider() always fails 2017-10-05 09:42:39 +01:00
gstdeviceprovider.h element/deviceprovider: Add instance getter functions for class properties 2017-08-17 14:13:39 +03:00
gstdeviceproviderfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdeviceproviderfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdynamictypefactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdynamictypefactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelement.c element: add gst_element_foreach_*pad() 2017-11-02 15:59:22 +00:00
gstelement.h element: add gst_element_foreach_*pad() 2017-11-02 15:59:22 +00:00
gstelementfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstelementfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelementmetadata.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstenumtypes.c.template meson: use gnome.mkenums() with template files for enum file gen 2016-12-22 11:35:04 +00:00
gstenumtypes.h.template gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsterror.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsterror.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstevent.c event: Don't allow invalid SELECT_STREAMS event creation 2017-10-27 09:53:06 +02:00
gstevent.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstformat.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstformat.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstghostpad.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstghostpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstinfo.c info: fix build with gst debugging disabled 2017-07-29 10:28:03 +01:00
gstinfo.h info: GstStackTraceFlags were added in 1.12 2017-09-17 18:55:43 +03:00
gstiterator.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstiterator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmacros.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstmemory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmemory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmessage.c message: Don't pass a NULL debug string to g_utf8_validate() 2017-05-02 14:35:50 +03:00
gstmessage.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmeta.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmeta.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstminiobject.c miniobject: don't modify memory if it's clearly not a valid miniobject 2017-07-15 11:57:43 +01:00
gstminiobject.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstobject.c object: Add missing annotations to get_value_array() / get_value_g_array() 2017-05-22 12:01:41 +03:00
gstobject.h gst: add GST_DEPRECATED_FOR() and also export deprecated symbols 2017-05-15 23:14:20 +01:00
gstpad.c gstpad: Make pad (de)activation atomic 2017-11-16 10:55:36 +01:00
gstpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpadtemplate.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstpadtemplate.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstparamspecs.c paramspec: Move condition check inside the g_return 2017-11-10 12:09:41 -05:00
gstparamspecs.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstparse.c parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstparse.h parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstpipeline.c element: Add missing values for "to same" state changes 2017-06-20 09:33:25 -04:00
gstpipeline.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstplugin.c gst: Modify behaviour of gst_get_main_executable_path 2017-09-27 20:59:54 +02:00
gstplugin.h plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstpluginfeature.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpluginfeature.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpluginloader.c plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstpluginloader.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstpoll.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpoll.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpreset.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpreset.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstprotection.c protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstprotection.h protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstquark.c events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquark.h events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquery.c query: doc consistency 2017-10-02 13:14:21 +02:00
gstquery.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistry.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstregistry.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistrybinary.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstregistrybinary.h tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstregistrychunks.c registrychunk: Fix leak in failed case of reading plugin dependency string 2017-06-20 10:55:49 +03:00
gstregistrychunks.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstsample.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstsample.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsegment.c Revert "segment: also intialize the duration" 2017-10-20 16:11:44 +02:00
gstsegment.h segment: clarify the segment docs for the duration 2017-10-20 16:15:01 +02:00
gststreamcollection.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreamcollection.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststreams.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreams.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststructure.c structure: add a todo comment 2017-10-02 16:23:31 +02:00
gststructure.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsystemclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstsystemclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaglist.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttaglist.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttagsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttagsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttask.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttask.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaskpool.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttaskpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttoc.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttoc.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttocsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttocsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracer.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttracer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttracerfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerrecord.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerrecord.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerutils.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerutils.h tracing: fix build with tracer hooks disabled 2017-07-05 13:17:49 +01:00
gsttypefind.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttypefind.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttypefindfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttypefindfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsturi.c meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gsturi.h meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gstutils.c seqnum: Never return a seqnum of 0, reset GST_SEQNUM_INVALID 2017-10-18 02:31:12 +11:00
gstutils.h seqnum: Never return a seqnum of 0, reset GST_SEQNUM_INVALID 2017-10-18 02:31:12 +11:00
gstvalue.c value: Handle serializing NULL GValueArray 2017-08-26 13:46:58 -03:00
gstvalue.h gstvalue: Cast GST_MAKE_FOURCC arguments 2017-10-31 12:02:18 +01:00
gstversion.h.in gstversion: Add missing include in .in file. 2015-08-15 13:26:12 +02:00
Makefile.am gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build meson: remove vs_module_defs 2017-10-05 09:35:41 +01:00