gstreamer/tests/check/gst
Sebastian Dröge 86e45df860 gst/: Make it possible (and recommended) to set element details and add pad templates in the class_init functions by ...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_base_class_init),
(gst_element_class_add_pad_template):
* gst/gstpadtemplate.c:
Make it possible (and recommended) to set element details and add
pad templates in the class_init functions by copying the details/pad
templates in GstElement's base_init.
Also make it possible to replace existing pad templates by adding
a new one with the same name. This was done in a hackish fashion
in same elements before already.
Don't reference pad templates that are added a second time. A
new pad template has a refcount of one and is not floating anymore
and to be owned by the element's class. Make this more explicit by
mentioning it in the docs of gst_element_class_add_pad_template().
These changes are backwards compatible. Fixes bug #491501.
* tests/check/gst/gstelement.c:
Add unit test for setting element details, adding pad templates and
replacing them in a subclass.
2008-02-03 10:48:01 +00:00
..
.gitignore API: add GstParamSpecFraction, so elements can have fraction properties without lots of painful string parsing (#4446... 2007-06-06 11:18:12 +00:00
capslist.h check/gst/capslist.h: Comment test cases 2005-11-22 12:35:42 +00:00
gst.c libs/gst/check/gstcheck.h: add some assert_ as alias for fail_unless_* 2006-07-02 22:05:48 +00:00
gstabi.c tests/check/: Decide which header to include based on the userland ABI target and not the kernel/cpu. Fix up structur... 2008-01-07 09:47:49 +00:00
gstbin.c tests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago. 2007-12-15 14:42:25 +00:00
gstbuffer.c tests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc test, because it can happily succeed on... 2007-05-21 14:50:51 +00:00
gstbus.c API: add gst_bus_pop_filtered 2007-10-16 20:30:13 +00:00
gstcaps.c tests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect(). 2006-09-27 09:23:18 +00:00
gstelement.c gst/: Make it possible (and recommended) to set element details and add pad templates in the class_init functions by ... 2008-02-03 10:48:01 +00:00
gstevent.c tests/check/gst/gstevent.c: Improve debugging. 2007-02-15 08:40:38 +00:00
gstghostpad.c gst/gstbin.c: Improve debugging. 2007-08-16 11:04:40 +00:00
gstinfo.c Use a custom export symbol regex for libgstcheck, as it needs to export symbols that don't match the standard GStream... 2007-10-25 14:50:48 +00:00
gstiterator.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstmessage.c gst/gstevent.c: Little documentation improvment. 2007-11-17 17:50:21 +00:00
gstminiobject.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstobject.c tests/check/gst/gstobject.c: Disable silly racy test that always fails on this combination of CPU and kernel. 2007-11-06 00:59:54 +00:00
gstpad.c gst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL when we dispose the pad. 2007-12-21 13:54:07 +00: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 tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstplugin.c gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when ... 2008-01-20 15:04:33 +00:00
gstquery.c gst/gstcaps.*: Fix docs and indentation again. 2006-08-28 16:39:20 +00:00
gstregistry.c API: add gst_update_registry() (#391296). 2007-01-08 20:30:12 +00:00
gstsegment.c docs/design/part-synchronisation.txt: Small updates. 2007-12-19 12:48:18 +00:00
gststructure.c gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves. 2008-01-12 20:22:30 +00:00
gstsystemclock.c gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves. 2008-01-12 20:22:30 +00:00
gsttag.c tests/check/gst/gsttag.c: relicence (okay with author=company) 2006-11-06 15:22:40 +00:00
gsttagsetter.c tests/check/: Add minimal unit test for beforementioned GstTagSetter bug. 2007-01-12 10:53:54 +00:00
gsttask.c tests/check/gst/gsttask.c: Fix header comment. 2007-01-15 14:51:09 +00: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 gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves. 2008-01-12 20:22:30 +00:00
gstvalue.c gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves. 2008-01-12 20:22:30 +00:00
gstxml.c gst/gstxml.c: Improve and detypofy docs. 2006-08-29 10:49:03 +00:00
struct_hppa.h tests/check/: Add ABI structs for HPPA (see #393796). 2007-01-17 12:31:01 +00:00
struct_i386.h libs/gst/check/gstcheck.*: factor out the method from tests that checks size of structures, and add code to generate ... 2006-06-06 13:48:20 +00:00
struct_ppc32.h tests/check/: Add ABI checks for PPC32. 2007-02-09 13:59:32 +00:00
struct_ppc64.h tests/check/: Decide which header to include based on the userland ABI target and not the kernel/cpu. Fix up structur... 2008-01-07 09:47:49 +00:00
struct_x86_64.h ifdef LOADSAVE 2006-06-06 16:52:59 +00:00