gstreamer/tests/check
Tim-Philipp Müller 22cf61b56e gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when ...
Original commit message from CVS:
* gst/gstplugin.c: (_gst_plugin_initialize):
Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
again, which I broke two commits ago when changing the API
of gst_plugin_register_static(): the g_list_foreach() in
_gst_plugin_register_static still assumed the old function
signature and would therefore fail (re-fixes #510187).
* gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
(_gst_plugin_register_static), (gst_plugin_register_static):
Revert the (technically correct) change to call g_thread_init() from
the pre-main() constructor. This will break programs which call
g_thread_init() without an if (!g_thread_supported()) guard in their
main function. We could just blame it on GLib or the application, but
it's probably best to just avoid this altogether and simply not use
any GLib functions here and use plain old malloc() with a simple
array to store the plugins to register later when gst_init() is
finally called (re-fixes #510187).
* tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
(GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
(plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
(GST_START_TEST), (gst_plugin_suite):
Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
works.
2008-01-20 15:04:33 +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/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
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