gstreamer/gst
Benjamin Otte 8fe63000de plugins: Do not ever unload a plugin after calling into it
This is what can happen in a plugin_init function:
- An element based on GstBaseSink is registered
- Other elements fail to register
- The plugin_init function returns FALSE

Now if this the plugin is the first plugin to link against
libgstbase.so, it will have caused libgstbase.so to be loaded and static
strings from that library will have been added to gobject while
registering GstBaseSink.

So unloading the plugin will cause those strings to go stale and the
next plugin using GstBaseSink will crash. So we must not unload modules
after calling into them ever.

https://bugzilla.redhat.com/show_bug.cgi?id=572800
2010-03-12 16:56:56 +01:00
..
parse gstreamer: remove unneeded casts 2010-03-11 11:46:28 +01:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
gettext.h adding i18n tested with nl, seems to work fine 2004-01-13 11:30:00 +00:00
glib-compat-private.h configure.ac: Require GLib 2.12. 2008-04-01 13:55:20 +00:00
glib-compat.c gst/: remove GLib 2.6 compatibility code 2006-06-13 08:20:24 +00:00
glib-compat.h Remove some compatibility stuff for GLib < 2.14 2009-03-26 11:08:27 +01:00
gst-i18n-app.h i18n: define dummy ngettext if i18n is disabled. 2010-03-11 10:14:05 +02:00
gst-i18n-lib.h i18n: define dummy ngettext if i18n is disabled. 2010-03-11 10:14:05 +02:00
gst.c win32: Add prototype for DllMain() 2010-03-11 18:37:24 +01:00
gst.h bufferlist: add docs/build/debug/unittest 2009-05-12 15:18:52 +02:00
gst_private.h gst_private: MSVC doesn't seem to like #warning 2010-02-10 14:28:05 +00:00
gstbin.c bin: make a interface vmethod implementation static 2010-01-24 23:04:27 +02:00
gstbin.h docs: explain ref ownership for handle_message implementations 2009-04-02 13:32:58 +02:00
gstbuffer.c buffer: fix printf format 2010-03-11 09:39:23 +00:00
gstbuffer.h docs: Move field specific Since markers at the same line 2010-01-14 10:44:16 +01:00
gstbufferlist.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstbufferlist.h docs: add some more Since: markers to buffer list docs 2010-01-31 17:30:54 +00:00
gstbus.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstbus.h bus: whitespace fixes 2010-01-11 11:55:51 +01:00
gstcaps.c gst: Use G_VALUE_COLLECT_INIT if available 2010-03-12 10:01:47 +01:00
gstcaps.h Improve caps setters API 2009-10-15 19:10:50 +02:00
gstchildproxy.c gst: Use G_VALUE_COLLECT_INIT if available 2010-03-12 10:01:47 +01:00
gstchildproxy.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstclock.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstclock.h gstclock: Fix ABI breakage on 32 bit architectures 2009-05-17 10:46:39 +02:00
gstcompat.h docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs actualy 2005-08-30 08:17:48 +00:00
gstconfig.h.in gstconfig.h: add define to force printf format checking for debug messages 2009-11-05 21:23:22 +00:00
gstdebugutils.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstdebugutils.h docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstelement.c gstreamer: remove unneeded casts 2010-03-11 11:46:28 +01:00
gstelement.h docs: add more docs around GstState and GstStateChange 2009-12-14 15:11:42 +02:00
gstelementdetails.h Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstelementfactory.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstelementfactory.h whitespace fixes 2009-09-10 11:54:01 +02:00
gsterror.c errors: reword state change failed error message and remove bugzilla link 2009-06-04 00:59:03 +01:00
gsterror.h gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659. 2008-04-09 17:34:54 +00:00
gstevent.c gstevent: fix docs 2009-11-27 13:44:11 -03:00
gstevent.h docs: add missing returns: tag 2010-01-05 00:09:10 +02:00
gstfilter.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstfilter.h docs/random/ensonic/media-device-daemon.txt: wild idea, can this be done? 2005-11-21 14:50:22 +00:00
gstformat.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstformat.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstghostpad.c gstghostpad: Register debug funcptr only once. 2009-12-01 17:56:19 +01:00
gstghostpad.h docs: fix gtk-doc /*< private >*/ marker 2009-07-02 01:18:57 +01:00
gstindex.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstindex.h gstindex: retab .h file 2010-01-21 16:19:44 +01:00
gstindexfactory.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstindexfactory.h whitespace fixes 2005-10-15 15:30:24 +00:00
gstinfo.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstinfo.h Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstinterface.c gst: Use G_DEFINE_TYPE and friends or at least g_once_init_* in the _get_type() functions 2009-04-04 10:20:36 +02:00
gstinterface.h Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers 2009-01-30 18:25:39 +00:00
gstiterator.c iterator: Fix a documentation typo 2009-10-14 10:16:31 +02:00
gstiterator.h docs: it's its 2009-08-31 17:00:17 +01:00
gstmacros.h docs: remove gtkdoc header as these things don't come up on our docs even 2009-11-25 14:41:26 +02:00
gstmarshal.list check/Makefile.am: remove GstData checks 2005-05-16 20:21:55 +00:00
gstmessage.c Revert "gstmessage: Avoid expensive src/type/timestamp fetch." 2009-10-23 13:13:52 -04:00
gstmessage.h message: update docs a little 2010-01-15 18:36:43 +01:00
gstminiobject.c gstreamer: remove unneeded casts 2010-03-11 11:46:28 +01:00
gstminiobject.h API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT 2008-03-22 14:51:17 +00:00
gstobject.c gstreamer: remove unneeded casts 2010-03-11 11:46:28 +01:00
gstobject.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstpad.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstpad.h pad: indentation fix 2009-11-05 12:36:10 +01:00
gstpadtemplate.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstpadtemplate.h docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstparamspecs.c paramspecs: revert gst_param_spec_is_mutable() for release 2009-04-16 00:48:11 +01:00
gstparamspecs.h paramspecs: revert gst_param_spec_is_mutable() for release 2009-04-16 00:48:11 +01:00
gstparse.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstparse.h API: gst_parse_launch_full() 2008-05-24 15:33:53 +00:00
gstpipeline.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstpipeline.h pipeline: deprecate old methods, fix test 2009-05-29 12:21:36 +02:00
gstplugin.c plugins: Do not ever unload a plugin after calling into it 2010-03-12 16:56:56 +01:00
gstplugin.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstpluginfeature.c Remove GST_DEBUG_FUNCPTR where they're pointless 2009-10-28 00:44:24 +00:00
gstpluginfeature.h gstpluginfeature: API : new gst_plugin_feature_list_copy() method 2009-10-24 10:39:30 +02:00
gstpluginloader.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstpluginloader.h Plugin loader phase 2 2009-10-06 19:51:42 +01:00
gstpoll.c gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT() 2010-03-04 18:40:50 +00:00
gstpoll.h GstPoll: add methods to use gstpoll for timeouts 2009-02-03 17:49:02 +01:00
gstpreset.c docs: clarify preset api docs 2009-10-15 12:16:05 +03:00
gstpreset.h gst/: Remove double interface from doc-string. 2008-08-12 06:27:35 +00:00
gstquark.c event: API: Add sink-message event 2009-11-18 13:12:27 +01:00
gstquark.h event: API: Add sink-message event 2009-11-18 13:12:27 +01:00
gstquery.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstquery.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstregistry.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstregistry.h registry: deprecate useless gst_registry_xml_{read|write}_cache() 2010-01-06 19:19:40 +00:00
gstregistrybinary.c Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00
gstregistrybinary.h Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstregistrychunks.c registry: avoid some more unnecessary malloc/frees 2010-01-12 21:35:18 +00:00
gstregistrychunks.h registry: Add registry helper phase 1 2009-10-06 19:51:42 +01:00
gstsegment.c gstsegment: Actually start==stop==segment_start is inside the segment 2009-08-11 13:21:35 +02:00
gstsegment.h segment: add gst_segment_set_running_time 2009-06-04 12:53:20 +02:00
gststructure.c gst: Use G_VALUE_COLLECT_INIT if available 2010-03-12 10:01:47 +01:00
gststructure.h structure: API: Add gst_structure_id_has_field{,_typed} 2009-11-02 09:24:10 +01:00
gstsystemclock.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstsystemclock.h systemclock: fix indentation 2009-08-28 16:07:16 +02:00
gsttaglist.c gst: Use G_VALUE_COLLECT_INIT if available 2010-03-12 10:01:47 +01:00
gsttaglist.h tags: Adds new geo location tags 2010-03-11 15:31:06 -03:00
gsttagsetter.c tags: API: Add functions to add single tags to GstTagList or GstTagSetter 2009-05-12 09:02:44 +02:00
gsttagsetter.h tags: API: Add functions to add single tags to GstTagList or GstTagSetter 2009-05-12 09:02:44 +02:00
gsttask.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gsttask.h GstTask: add methods for configuring the pool 2009-05-12 00:26:58 +02:00
gsttaskpool.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gsttaskpool.h docs: add Since markers to task pool docs and document task function 2010-01-06 19:18:53 +00:00
gsttrace.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gsttrace.h Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gsttypefind.c gsttypefind: avoid one more run-time type check 2009-11-02 08:50:04 +00:00
gsttypefind.h API: add gst_type_find_suggest_simple(), #533740. 2008-05-19 10:46:44 +00:00
gsttypefindfactory.c docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gsttypefindfactory.h gst/: Fix memory leak in GstTypeFindFactory. 2005-11-29 23:56:20 +00:00
gsturi.c gsturi: Don't use g_signal_emit_by_name, use the signal ID directly 2009-12-07 09:51:03 +01:00
gsturi.h docs: Move field specific Since markers at the same line 2010-01-14 10:44:16 +01:00
gstutils.c gstreamer: remove unneeded casts 2010-03-11 11:46:28 +01:00
gstutils.h Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstvalue.c Fixes for -Wwrite-strings 2010-03-10 20:50:10 +01:00
gstvalue.h docs: fix xrefs in docs 2009-11-25 16:59:50 +02:00
gstversion.h.in Replace some mentions of CVS by GIT 2009-02-08 10:28:59 +01:00
gstxml.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstxml.h It's __GNUC__, not _GNUC_ 2009-08-22 15:49:12 -07:00
Makefile.am Fixes for -Wmissing-declarations -Wmissing-prototypes 2010-03-11 10:59:57 +01:00