~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to gst/gstelementfactory.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-06-08 09:38:04 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120608093804-q9gzihfevul7nqtc
Tags: 0.11.92-1
* debian/control.in:
  + Update automake, autoconf and libtool build dependencies.
* New upstream release, "High Hopes":
  + debian/libgstreamer.symbols:
    - Update symbols file.
* debian/gst-codec-info.c:
  + Updated for API changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#ifndef __GST_ELEMENT_FACTORY_H__
25
25
#define __GST_ELEMENT_FACTORY_H__
26
26
 
 
27
/**
 
28
 * GstElementFactory:
 
29
 *
 
30
 * The opaque #GstElementFactory data structure.
 
31
 */
27
32
typedef struct _GstElementFactory GstElementFactory;
28
33
typedef struct _GstElementFactoryClass GstElementFactoryClass;
29
34
 
30
35
#include <gst/gstconfig.h>
31
36
#include <gst/gstelement.h>
32
 
#include <gst/gstobject.h>
 
37
#include <gst/gstpad.h>
33
38
#include <gst/gstplugin.h>
34
39
#include <gst/gstpluginfeature.h>
35
 
#include <gst/gstpadtemplate.h>
36
 
#include <gst/gstiterator.h>
37
40
#include <gst/gsturi.h>
38
41
 
39
42
G_BEGIN_DECLS
47
50
#define GST_IS_ELEMENT_FACTORY_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ELEMENT_FACTORY))
48
51
#define GST_ELEMENT_FACTORY_CAST(obj)           ((GstElementFactory *)(obj))
49
52
 
50
 
/**
51
 
 * GstElementFactory:
52
 
 *
53
 
 * The opaque #GstElementFactory data structure.
54
 
 */
55
 
struct _GstElementFactory {
56
 
  GstPluginFeature      parent;
57
 
 
58
 
  GType                 type;                   /* unique GType of element or 0 if not loaded */
59
 
 
60
 
  gpointer              metadata;
61
 
 
62
 
  GList *               staticpadtemplates;     /* GstStaticPadTemplate list */
63
 
  guint                 numpadtemplates;
64
 
 
65
 
  /* URI interface stuff */
66
 
  GstURIType            uri_type;
67
 
  gchar **              uri_protocols;
68
 
 
69
 
  GList *               interfaces;             /* interface type names this element implements */
70
 
 
71
 
  /*< private >*/
72
 
  gpointer _gst_reserved[GST_PADDING];
73
 
};
74
 
 
75
 
struct _GstElementFactoryClass {
76
 
  GstPluginFeatureClass parent_class;
77
 
 
78
 
  gpointer _gst_reserved[GST_PADDING];
79
 
};
80
 
 
81
53
GType                   gst_element_factory_get_type            (void);
82
54
 
83
55
GstElementFactory *     gst_element_factory_find                (const gchar *name);
85
57
GType                   gst_element_factory_get_element_type    (GstElementFactory *factory);
86
58
 
87
59
const gchar *           gst_element_factory_get_metadata        (GstElementFactory *factory, const gchar *key);
 
60
gchar **                gst_element_factory_get_metadata_keys   (GstElementFactory *factory);
88
61
 
89
62
guint                   gst_element_factory_get_num_pad_templates (GstElementFactory *factory);
90
63
const GList *           gst_element_factory_get_static_pad_templates (GstElementFactory *factory);