form a semantic representation of the pipeline in preparation for actual instantiation.
[platform/upstream/gstreamer.git] / gst / parse / types.h
1 #include <glib-object.h>
2
3 typedef struct {
4     gchar *name;
5     GList *property_values;
6 } element_t;
7
8 typedef struct {
9     gchar *name;
10     GType value_type;
11     union {
12         gdouble d;
13         gboolean b;
14         gint i;
15         gchar *s;
16     } value;
17 } property_t;
18
19 typedef struct {
20     char *src;
21     char *sink;
22     GList *src_pads;
23     GList *sink_pads;
24 } connection_t;
25
26 typedef struct {
27     element_t *current;
28     gchar *current_bin_type;
29     GList *elements;
30     GList *connections;
31     GList *connections_pending;
32     GList *bins;
33 } graph_t;
34
35 typedef struct {
36     gchar *id1;
37     gchar *id2;
38 } hash_t;