diff -r 9b2c3c7a1a9c -r 567bb019e3e3 gstreamer_core/gst/gstparse.h --- a/gstreamer_core/gst/gstparse.h Wed Mar 31 22:03:18 2010 +0300 +++ b/gstreamer_core/gst/gstparse.h Tue Aug 31 15:30:33 2010 +0300 @@ -27,6 +27,9 @@ G_BEGIN_DECLS +#ifdef __SYMBIAN32__ +IMPORT_C +#endif GQuark gst_parse_error_quark (void); /** * GST_PARSE_ERROR: @@ -57,18 +60,87 @@ GST_PARSE_ERROR_EMPTY_BIN, GST_PARSE_ERROR_EMPTY } GstParseError; + +/** + * GstParseFlags: + * @GST_PARSE_FLAG_NONE: Do not use any special parsing options. + * @GST_PARSE_FLAG_FATAL_ERRORS: Always return NULL when an error occurs + * (default behaviour is to return partially constructed bins or elements + * in some cases) + * + * Parsing options. + * + * Since: 0.10.20 + */ +typedef enum +{ + GST_PARSE_FLAG_NONE = 0, + GST_PARSE_FLAG_FATAL_ERRORS = (1 << 0) +} GstParseFlags; + +/** + * GstParseContext: + * + * Opaque structure. + * + * Since: 0.10.20 + */ +typedef struct _GstParseContext GstParseContext; + +/* create, process and free a parse context */ +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + + +GstParseContext * gst_parse_context_new (void); #ifdef __SYMBIAN32__ IMPORT_C #endif +gchar ** gst_parse_context_get_missing_elements (GstParseContext * context); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif -GstElement* gst_parse_launch (const gchar *pipeline_description, GError **error); + +void gst_parse_context_free (GstParseContext * context); + + +/* parse functions */ +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + + +GstElement * gst_parse_launch (const gchar * pipeline_description, + GError ** error); #ifdef __SYMBIAN32__ IMPORT_C #endif -GstElement* gst_parse_launchv (const gchar **argv, GError **error); + +GstElement * gst_parse_launchv (const gchar ** argv, + GError ** error); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + + +GstElement * gst_parse_launch_full (const gchar * pipeline_description, + GstParseContext * context, + GstParseFlags flags, + GError ** error); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + + +GstElement * gst_parse_launchv_full (const gchar ** argv, + GstParseContext * context, + GstParseFlags flags, + GError ** error); G_END_DECLS