mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
Add some 0.11 FIXMEs for GstPluginInitFunc
See 8fe63000de
for why having a TRUE/FALSE
return value is a bad idea.
I've scanned a few plugins and they generally get it wrong and aren't
unloadable when they return FALSE.
This commit is contained in:
parent
28c66fcd64
commit
7c1d33a8a3
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ typedef enum {
|
|||
*
|
||||
* Returns: %TRUE if plugin initialised successfully
|
||||
*/
|
||||
/* FIXME 0.11: Make return void */
|
||||
typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin);
|
||||
|
||||
/**
|
||||
|
@ -134,6 +135,7 @@ typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin);
|
|||
* Since: 0.10.24
|
||||
*
|
||||
*/
|
||||
/* FIXME 0.11: Merge with GstPluginInitFunc */
|
||||
typedef gboolean (*GstPluginInitFullFunc) (GstPlugin *plugin, gpointer user_data);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue