gstreamer/tests/check
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
..
elements 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
generic 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
gst 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
libs 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
pipelines tests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is going to be deprecated (see #498924). 2007-12-21 21:17:32 +00:00
.gitignore tests/check/.cvsignore: Ignore test-registry.xml as well. 2007-01-09 14:38:11 +00:00
Makefile.am tests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h. 2007-12-02 20:33:49 +00:00