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