gstreamer/gst
Stian Selnes 512cec3dea pad: gst_pad_activate_mode() always succeed if same mode
Checking that the pad is in the correct mode before the parent is
checked makes the call always succeed if the mode is ok.

This fixes a race with ghostpad where gst_pad_activate_mode() could
trigger a g_critical() if the ghostpad is unparented while the
proxypad is deactivating, for instance if the ghostpad is released.
More specifically, gst_ghost_pad_internal_activate_push_default()'s
call to gst_pad_activate_mode() would fail if ghostpad doesn't have a
parent. With this patch it will return true of mode is already
correct.
2017-11-24 13:40:31 +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: add a promise object 2017-11-23 00:48:30 +11:00
gst.h gst: add a promise object 2017-11-23 00:48:30 +11: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 pad templates: Allow specifying GType 2017-11-22 16:44:08 +01:00
gstelement.h pad templates: Allow specifying GType 2017-11-22 16:44:08 +01: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 ghostpad: return TRUE if target pad was already set 2017-11-24 13:39:39 +01: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 pad: gst_pad_activate_mode() always succeed if same mode 2017-11-24 13:40:31 +01:00
gstpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpadtemplate.c pad templates: Allow specifying GType 2017-11-22 16:44:08 +01:00
gstpadtemplate.h pad templates: Allow specifying GType 2017-11-22 16:44:08 +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
gstpromise.c gst: add a promise object 2017-11-23 00:48:30 +11:00
gstpromise.h gst: add a promise object 2017-11-23 00:48:30 +11: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 registrychunks: Make sure we use aligned memory 2017-11-20 17:01:04 +01: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 gstvalue: allocate slightly larger than needed tables at startup 2017-11-23 13:56:51 +01: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: add a promise object 2017-11-23 00:48:30 +11:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build gst: add a promise object 2017-11-23 00:48:30 +11:00