projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gst: Don't pass miniobjects to GST_DEBUG_OBJECT() and similar macros
[platform/upstream/gstreamer.git]
/
gst
/
gstregistry.h
diff --git
a/gst/gstregistry.h
b/gst/gstregistry.h
index
b7c4835
..
a5ae603
100644
(file)
--- a/
gst/gstregistry.h
+++ b/
gst/gstregistry.h
@@
-16,8
+16,8
@@
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
- * Boston, MA 0211
1-1307
, USA.
+ * Free Software Foundation, Inc., 5
1 Franklin St, Fifth Floor
,
+ * Boston, MA 0211
0-1301
, USA.
*/
*/
@@
-57,45
+57,77
@@
struct _GstRegistryClass {
GstObjectClass parent_class;
};
GstObjectClass parent_class;
};
+GST_API
GType gst_registry_get_type (void);
GType gst_registry_get_type (void);
+GST_API
GstRegistry * gst_registry_get (void);
GstRegistry * gst_registry_get (void);
+GST_API
gboolean gst_registry_scan_path (GstRegistry *registry, const gchar *path);
gboolean gst_registry_scan_path (GstRegistry *registry, const gchar *path);
+
+#if 0
void gst_registry_add_path (GstRegistry * registry, const gchar * path);
GList* gst_registry_get_path_list (GstRegistry *registry);
void gst_registry_add_path (GstRegistry * registry, const gchar * path);
GList* gst_registry_get_path_list (GstRegistry *registry);
+#endif
+GST_API
gboolean gst_registry_add_plugin (GstRegistry *registry, GstPlugin *plugin);
gboolean gst_registry_add_plugin (GstRegistry *registry, GstPlugin *plugin);
+
+GST_API
void gst_registry_remove_plugin (GstRegistry *registry, GstPlugin *plugin);
void gst_registry_remove_plugin (GstRegistry *registry, GstPlugin *plugin);
+
+GST_API
gboolean gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature);
gboolean gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature);
+
+GST_API
void gst_registry_remove_feature (GstRegistry * registry, GstPluginFeature * feature);
void gst_registry_remove_feature (GstRegistry * registry, GstPluginFeature * feature);
+GST_API
GList* gst_registry_get_plugin_list (GstRegistry *registry);
GList* gst_registry_get_plugin_list (GstRegistry *registry);
+
+GST_API
GList* gst_registry_plugin_filter (GstRegistry *registry,
GstPluginFilter filter,
gboolean first,
gpointer user_data);
GList* gst_registry_plugin_filter (GstRegistry *registry,
GstPluginFilter filter,
gboolean first,
gpointer user_data);
+GST_API
GList* gst_registry_feature_filter (GstRegistry *registry,
GstPluginFeatureFilter filter,
gboolean first,
gpointer user_data);
GList* gst_registry_feature_filter (GstRegistry *registry,
GstPluginFeatureFilter filter,
gboolean first,
gpointer user_data);
+GST_API
GList * gst_registry_get_feature_list (GstRegistry *registry,
GType type);
GList * gst_registry_get_feature_list (GstRegistry *registry,
GType type);
+GST_API
GList * gst_registry_get_feature_list_by_plugin (GstRegistry *registry, const gchar *name);
GList * gst_registry_get_feature_list_by_plugin (GstRegistry *registry, const gchar *name);
+
+GST_API
guint32 gst_registry_get_feature_list_cookie (GstRegistry *registry);
guint32 gst_registry_get_feature_list_cookie (GstRegistry *registry);
+GST_API
GstPlugin* gst_registry_find_plugin (GstRegistry *registry, const gchar *name);
GstPlugin* gst_registry_find_plugin (GstRegistry *registry, const gchar *name);
+
+GST_API
GstPluginFeature* gst_registry_find_feature (GstRegistry *registry, const gchar *name, GType type);
GstPluginFeature* gst_registry_find_feature (GstRegistry *registry, const gchar *name, GType type);
+GST_API
GstPlugin * gst_registry_lookup (GstRegistry *registry, const char *filename);
GstPlugin * gst_registry_lookup (GstRegistry *registry, const char *filename);
+
+GST_API
GstPluginFeature * gst_registry_lookup_feature (GstRegistry *registry, const char *name);
GstPluginFeature * gst_registry_lookup_feature (GstRegistry *registry, const char *name);
+GST_API
gboolean gst_registry_check_feature_version (GstRegistry *registry,
const gchar *feature_name,
guint min_major,
guint min_minor,
guint min_micro);
gboolean gst_registry_check_feature_version (GstRegistry *registry,
const gchar *feature_name,
guint min_major,
guint min_minor,
guint min_micro);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstRegistry, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_REGISTRY_H__ */
G_END_DECLS
#endif /* __GST_REGISTRY_H__ */