mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
pluginfeature: make GstPluginFeature structure private
Make GstPluginFeature opaque until we have time to clean it up a little. Only GstElementFactory and GstTypefindFactory derive from it, and they are opaque already, and we currently don't support custom plugin features in the registry anyway.
This commit is contained in:
parent
37e516ccf7
commit
5b4417ff9e
2 changed files with 26 additions and 26 deletions
|
@ -296,6 +296,27 @@ struct _GstPluginClass {
|
|||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstPluginFeature {
|
||||
GstObject object;
|
||||
|
||||
/*< private >*/
|
||||
gboolean loaded;
|
||||
guint rank;
|
||||
|
||||
const gchar *plugin_name;
|
||||
GstPlugin *plugin; /* weak ref */
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstPluginFeatureClass {
|
||||
GstObjectClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
#include "gsttypefind.h"
|
||||
|
||||
struct _GstTypeFindFactory {
|
||||
|
|
|
@ -38,6 +38,11 @@ G_BEGIN_DECLS
|
|||
#define GST_PLUGIN_FEATURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_PLUGIN_FEATURE, GstPluginFeatureClass))
|
||||
#define GST_PLUGIN_FEATURE_CAST(obj) ((GstPluginFeature*)(obj))
|
||||
|
||||
/**
|
||||
* GstPluginFeature:
|
||||
*
|
||||
* Opaque #GstPluginFeature structure.
|
||||
*/
|
||||
typedef struct _GstPluginFeature GstPluginFeature;
|
||||
typedef struct _GstPluginFeatureClass GstPluginFeatureClass;
|
||||
|
||||
|
@ -84,32 +89,6 @@ typedef enum {
|
|||
*/
|
||||
#define gst_plugin_feature_set_name(feature,name) gst_object_set_name(GST_OBJECT_CAST(feature),name)
|
||||
|
||||
/**
|
||||
* GstPluginFeature:
|
||||
*
|
||||
* Opaque #GstPluginFeature structure.
|
||||
*/
|
||||
struct _GstPluginFeature {
|
||||
GstObject object;
|
||||
|
||||
/*< private >*/
|
||||
gboolean loaded;
|
||||
guint rank;
|
||||
|
||||
const gchar *plugin_name;
|
||||
GstPlugin *plugin; /* weak ref */
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstPluginFeatureClass {
|
||||
GstObjectClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
/**
|
||||
* GstPluginFeatureFilter:
|
||||
* @feature: the pluginfeature to check
|
||||
|
|
Loading…
Reference in a new issue