gstreamer/gst
Edward Hervey 82c871a8a3 gstutils: Fix a pad leak
When requesting a pad from a template and it's already linked, this
means it was a static pad. Since we only want to return an *available*
pad, we must return NULL ... but we must also remove the reference
we got from getting that static pad.

The "No need to unref" message (which wasn't true for quite some time)
dates back from the very very very first commit introducing the 0.10
features.
2016-11-28 14:02:23 +01:00
..
parse parse: better error message when linking two elements with capsfilter fails 2016-11-12 10:55:23 +00: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
build_mkenum.py Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01: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 registry: set env GST_REGISTRY_DISABLE=yes to disable registry 2016-11-01 20:31:46 +02:00
gst.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gst_private.h utils: Export linear regression calculation as public function 2016-11-28 14:26:50 +02:00
gstallocator.c allocator: Mark registered allocator for leak 2016-10-24 11:54:22 -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 bin: Fix iterator resync'ing 2016-10-08 17:23:08 +02:00
gstbin.h docs: misc fixes 2016-11-16 10:57:33 +00:00
gstbuffer.c Cast away const from GstMetaInfo in *_get_meta_info() functions 2016-11-15 14:51:18 +02:00
gstbuffer.h buffer: add explicit getters and setters for buffer flags 2016-08-22 18:59:06 +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 poll: #define EWOULDBLOCK to EAGAIN if it's not defined on Windows 2016-06-29 23:24:02 +02:00
gstbufferpool.h doc: Fix Since: marks 2015-06-13 20:19:59 -04:00
gstbus.c poll: #define EWOULDBLOCK to EAGAIN if it's not defined on Windows 2016-06-29 23:24:02 +02:00
gstbus.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstcaps.c Use MAY_BE_LEAKED_FLAG 2016-06-02 23:14:15 +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.c utils: Export linear regression calculation as public function 2016-11-28 14:26:50 +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 gstconfig: Use __declspec when built with MinGW and linking with MSVC 2016-09-13 13:46:19 +05:30
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 controlbinding: Store object in a thread-safe GWeakRef 2016-10-13 18:25:59 +02:00
gstcontrolbinding.h controlbinding: Store object in a thread-safe GWeakRef 2016-10-13 18:25:59 +02:00
gstcontrolsource.c controlsource: Remove misleading sentence from the documentation 2016-10-13 17:55:45 +02: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 warning on enum properties printing 2016-05-11 10:02:49 +03:00
gstdebugutils.h docs: mention xdot utility to view .dot files directly 2015-10-16 15:59:49 +01:00
gstdevice.c device: Fix typo 2016-06-15 16:12:36 +02:00
gstdevice.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdevicemonitor.c message: fix annotation of parse_device_{added,removed} 2016-07-15 12:56:52 +01:00
gstdevicemonitor.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdeviceprovider.c deviceprovider: remove base_class_finalize function 2016-06-04 13:35:12 +01:00
gstdeviceprovider.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdeviceproviderfactory.c Use MAY_BE_LEAKED_FLAG 2016-06-02 23:14:15 +01:00
gstdeviceproviderfactory.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstdynamictypefactory.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstdynamictypefactory.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstelement.c element: Don't increment NULL pointers 2016-11-23 18:57:17 +02:00
gstelement.h docs: misc fixes 2016-11-16 10:57:33 +00:00
gstelementfactory.c Use MAY_BE_LEAKED_FLAG 2016-06-02 23:14:15 +01:00
gstelementfactory.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11: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 events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstevent.h Change some types to match their prototypes 2016-11-14 21:03:57 +02: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 Fix some nonsensical g-i annotations 2016-04-30 14:15:08 +01:00
gstghostpad.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstinfo.c Add gst_print(), gst_println(), gst_printerr(), gst_printerrln() 2016-11-12 10:43:55 +00:00
gstinfo.h Add gst_print(), gst_println(), gst_printerr(), gst_printerrln() 2016-11-12 10:43:55 +00:00
gstiterator.c iterator: only unset GValue if it was inited 2016-05-23 18:09:48 +01: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: log with GST_INFO instead GST_ERROR when subclass map failed. 2016-11-21 21:06:31 +00:00
gstmemory.h memory: fix C++ compiler warnings with GST_MAP_INFO_INIT 2016-04-06 17:46:31 +01:00
gstmessage.c message: Ensure that the "debug" field of error/warning/info messages is valid UTF-8 2016-11-28 12:32:16 +02:00
gstmessage.h gstmessage.h: Avoid gcc bit shift overflow compiler warning 2016-10-24 11:49:37 +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 Remove old alloc tracing code now that we have a GstTracer-based replacement 2016-08-13 10:10:30 +01:00
gstminiobject.h (mini)object: add MAY_BE_LEAKED flag 2016-05-20 09:11:08 +01:00
gstobject.c object: Fix broken sentence structure in docs 2016-10-13 17:22:00 +02:00
gstobject.h (mini)object: add MAY_BE_LEAKED flag 2016-05-20 09:11:08 +01:00
gstpad.c pad: add no-reconfigure link check 2016-11-01 20:28:14 +02:00
gstpad.h pad: add no-reconfigure link check 2016-11-01 20:28:14 +02:00
gstpadtemplate.c element: Allow multiple conversion specifiers for request pads 2016-11-01 20:29:03 +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 pool: Fix compiler warning on mingw64 2016-11-09 09:23:05 +02:00
gstpoll.h poll: Warn if the return value of gst_poll_read_control() is unused 2016-06-29 21:21:04 +02: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 Cast away const from GstMetaInfo in *_get_meta_info() functions 2016-11-15 14:51:18 +02:00
gstprotection.h doc: Fix Since: marks 2015-06-13 20:19:59 -04: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 docs: xref the free function and expand allocation query docs 2016-05-30 02:04:18 -07:00
gstquery.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstregistry.c registry: set env GST_REGISTRY_DISABLE=yes to disable registry 2016-11-01 20:31:46 +02:00
gstregistry.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05: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 dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstregistrychunks.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11: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
gststreamcollection.c streams: sprinkle some Since: markers for docs 2016-06-30 15:07:28 +01:00
gststreamcollection.h streams: sprinkle some Since: markers for docs 2016-06-30 15:07:28 +01:00
gststreams.c streams: update and emit notify signal only if taglist actually changed 2016-08-21 18:40:40 +01:00
gststreams.h streams: Extend GstStreamType documentation 2016-10-13 12:04:20 +02:00
gststructure.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gststructure.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gstsystemclock.c systemclock: Improve GstPoll handling and don't check for impossible errno values 2016-06-29 21:21:04 +02:00
gstsystemclock.h core: Add g_autoptr() support to all types 2015-12-14 12:06:55 -05:00
gsttaglist.c taglist: remove return void in gst_tag_register 2016-11-12 10:50:33 +02: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 Change some types to match their prototypes 2016-11-14 21:03:57 +02: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
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 docs: fix various gtk-doc warnings 2016-08-26 12:35:23 +01:00
gsttracerutils.h tracing: add hooks when objects or miniobjects are created and destroyed 2016-06-02 23:10:44 +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: unref instead of using _gst_uri_free() directly 2016-05-04 10:08:24 +03:00
gsturi.h miniobject, memory, uri: warn on unused return value of some funcs 2016-03-26 11:35:39 +00:00
gstutils.c gstutils: Fix a pad leak 2016-11-28 14:02:23 +01:00
gstutils.h utils: Export linear regression calculation as public function 2016-11-28 14:26:50 +02:00
gstvalue.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11: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 utils: Export linear regression calculation as public function 2016-11-28 14:26:50 +02:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build gst: Use libunwind/libdw to generate backtraces if avalaible 2016-11-04 14:22:05 -03:00