gstreamer/tests/check/gst
Wim Taymans 381d35fd1e pad: Fix problem with destroy callback not being called
When we unblock a pad with the same user_data, the destroy callback is not
called. This leads to refcounting leaks that cannot be avoided. Instead always
call the destroy notify whenever we install a new pad block.
In particular, this fixes a nasty pad leak in decodebin2.

Also update the unit test to have more accurate comments and test the required
behaviour.
2009-12-23 21:20:14 +01:00
..
.gitignore childproxy: initialize gvalue in _valist function. Fixes #595602 2009-10-07 10:59:54 +03:00
capslist.h check/gst/capslist.h: Comment test cases 2005-11-22 12:35:42 +00:00
gst.c And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
gstabi.c tests/check/: Add Sparc ABI checks 2008-10-07 15:12:21 +00:00
gstbin.c Pad: post STREAM_STATUS_TYPE_CREATE 2009-05-12 00:27:10 +02:00
gstbuffer.c tests/check/: Use HAVE_VALGRIND_H some more. 2008-06-20 21:08:47 +00:00
gstbufferlist.c tests: fix crash and leak in bufferlists unit test 2009-06-21 14:43:08 +01:00
gstbus.c gstbus: Unref pipeline after usage in test_custom_main_context unit test 2009-08-11 05:48:22 +02:00
gstcaps.c gst/gstcaps.c: Fix subset test. 2008-08-07 12:28:28 +00:00
gstchildproxy.c checks: Fix string leaks in the new childproxy test 2009-10-08 02:20:51 +01:00
gstelement.c And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
gstevent.c Don't use gst_element_get_pad(). 2008-05-21 15:57:52 +00:00
gstghostpad.c tests: add ghostpad test for setting target again after pad is linked 2009-10-07 22:41:30 +03:00
gstindex.c gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). 2008-03-17 10:21:59 +00:00
gstinfo.c API: add FIXME and DUMPMEM log levels and convenience macros 2009-04-08 21:32:05 +01:00
gstinterface.c gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn... 2008-02-29 18:38:54 +00:00
gstiterator.c check: Attempt to fix type-punning warning in the gstiterator test 2009-10-07 16:36:31 +01:00
gstmessage.c tests: add a unit-test for the stream-status 2009-05-12 00:07:06 +02:00
gstminiobject.c miniobject: avoid race when recycling buffers 2009-11-13 11:45:48 +01:00
gstobject.c gstobject: Add simple unit test for gst_object_has_ancestor() 2009-10-14 08:34:03 +02:00
gstpad.c pad: Fix problem with destroy callback not being called 2009-12-23 21:20:14 +01:00
gstparamspecs.c API: add GstParamSpecFraction, so elements can have fraction properties without lots of painful string parsing (#4446... 2007-06-06 11:18:12 +00:00
gstpipeline.c pipeline: deprecate old methods, fix test 2009-05-29 12:21:36 +02:00
gstplugin.c check: Fix version check tests 2009-09-11 20:43:51 +01:00
gstpoll.c Remove GstPollMode from the API, it does not make sense to let the application control this. 2008-03-07 15:39:45 +00:00
gstpreset.c tests/check/gst/gstpreset.c: Only run preset tests when $HOME is writable. Preliminary fix for #545433. 2008-08-05 05:44:02 +00:00
gstquery.c Don't use gst_element_get_pad(). 2008-05-21 15:57:52 +00:00
gstregistry.c Re-enable and fix disabled bit of the registry test 2009-10-06 19:51:44 +01:00
gstsegment.c gstsegment: Actually start==stop==segment_start is inside the segment 2009-08-11 13:21:35 +02:00
gststructure.c structure: Change NULL and empty string handling 2009-07-13 18:28:37 +01:00
gstsystemclock.c check: Add a debug status to the systemclock test 2009-11-16 18:29:01 +00:00
gsttag.c tags: only emit a g_warning() for empty tag strings for git versions 2009-07-16 13:59:07 +01:00
gsttagsetter.c gst/gsttagsetter.c: Merging an empty list with another list in KEEP_ALL mode should yield an empty list as result and... 2008-04-13 19:58:43 +00:00
gsttask.c tests: make sure the tasks are joined 2009-07-20 18:03:21 +02:00
gsturi.c tests/check/gst/gsturi.c: Also check for the other file URI variant on win32. 2007-09-12 16:35:48 +00:00
gstutils.c utils: Fix GMP scaling unit test 2009-09-15 11:31:15 +02:00
gstvalue.c structure: Change NULL and empty string handling 2009-07-13 18:28:37 +01:00
gstxml.c Remove executable bits on xml unit test. 2009-10-20 12:21:41 -07:00
struct_hppa.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
struct_i386.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
struct_ppc32.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
struct_ppc64.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00
struct_sparc.h tests/check/: Add Sparc ABI checks 2008-10-07 15:12:21 +00:00
struct_x86_64.h And correct even more valid sparse warnings. 2008-02-29 13:59:24 +00:00