58 GST_PARSE_ERROR_LINK, |
55 GST_PARSE_ERROR_LINK, |
59 GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY, |
56 GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY, |
60 GST_PARSE_ERROR_EMPTY_BIN, |
57 GST_PARSE_ERROR_EMPTY_BIN, |
61 GST_PARSE_ERROR_EMPTY |
58 GST_PARSE_ERROR_EMPTY |
62 } GstParseError; |
59 } GstParseError; |
63 |
|
64 /** |
|
65 * GstParseFlags: |
|
66 * @GST_PARSE_FLAG_NONE: Do not use any special parsing options. |
|
67 * @GST_PARSE_FLAG_FATAL_ERRORS: Always return NULL when an error occurs |
|
68 * (default behaviour is to return partially constructed bins or elements |
|
69 * in some cases) |
|
70 * |
|
71 * Parsing options. |
|
72 * |
|
73 * Since: 0.10.20 |
|
74 */ |
|
75 typedef enum |
|
76 { |
|
77 GST_PARSE_FLAG_NONE = 0, |
|
78 GST_PARSE_FLAG_FATAL_ERRORS = (1 << 0) |
|
79 } GstParseFlags; |
|
80 |
|
81 /** |
|
82 * GstParseContext: |
|
83 * |
|
84 * Opaque structure. |
|
85 * |
|
86 * Since: 0.10.20 |
|
87 */ |
|
88 typedef struct _GstParseContext GstParseContext; |
|
89 |
|
90 /* create, process and free a parse context */ |
|
91 #ifdef __SYMBIAN32__ |
60 #ifdef __SYMBIAN32__ |
92 IMPORT_C |
61 IMPORT_C |
93 #endif |
62 #endif |
94 |
63 |
95 |
64 |
96 GstParseContext * gst_parse_context_new (void); |
65 |
|
66 GstElement* gst_parse_launch (const gchar *pipeline_description, GError **error); |
97 #ifdef __SYMBIAN32__ |
67 #ifdef __SYMBIAN32__ |
98 IMPORT_C |
68 IMPORT_C |
99 #endif |
69 #endif |
100 |
70 |
101 |
71 GstElement* gst_parse_launchv (const gchar **argv, GError **error); |
102 gchar ** gst_parse_context_get_missing_elements (GstParseContext * context); |
|
103 #ifdef __SYMBIAN32__ |
|
104 IMPORT_C |
|
105 #endif |
|
106 |
|
107 |
|
108 void gst_parse_context_free (GstParseContext * context); |
|
109 |
|
110 |
|
111 /* parse functions */ |
|
112 #ifdef __SYMBIAN32__ |
|
113 IMPORT_C |
|
114 #endif |
|
115 |
|
116 |
|
117 GstElement * gst_parse_launch (const gchar * pipeline_description, |
|
118 GError ** error); |
|
119 #ifdef __SYMBIAN32__ |
|
120 IMPORT_C |
|
121 #endif |
|
122 |
|
123 |
|
124 GstElement * gst_parse_launchv (const gchar ** argv, |
|
125 GError ** error); |
|
126 #ifdef __SYMBIAN32__ |
|
127 IMPORT_C |
|
128 #endif |
|
129 |
|
130 |
|
131 GstElement * gst_parse_launch_full (const gchar * pipeline_description, |
|
132 GstParseContext * context, |
|
133 GstParseFlags flags, |
|
134 GError ** error); |
|
135 #ifdef __SYMBIAN32__ |
|
136 IMPORT_C |
|
137 #endif |
|
138 |
|
139 |
|
140 GstElement * gst_parse_launchv_full (const gchar ** argv, |
|
141 GstParseContext * context, |
|
142 GstParseFlags flags, |
|
143 GError ** error); |
|
144 |
72 |
145 G_END_DECLS |
73 G_END_DECLS |
146 |
74 |
147 #endif /* __GST_PARSE_H__ */ |
75 #endif /* __GST_PARSE_H__ */ |