diff options
author | Benjamin Otte <otte@gnome.org> | 2003-04-08 21:59:44 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-04-08 21:59:44 +0000 |
commit | 3a897e2f301dc5ca800bc5b2d7efc74d2cc1c4a3 (patch) | |
tree | 7b59c1e6650150c72a6ac3be3305ea77ac3e454a /gst/gstparse.h | |
parent | 64f71f6961b3b07088de34956d54d31bc7610dd8 (diff) | |
download | gstreamer-3a897e2f301dc5ca800bc5b2d7efc74d2cc1c4a3.tar.gz |
rewritten pipeline parsing lands. Have fun breaking it.
Original commit message from CVS:
rewritten pipeline parsing lands. Have fun breaking it.
regressions:
- No support for filtered links. If anybody needs this, please contact me and I'll add it as fast as possible.
improvements:
- The pipeline building actually works as expected.
- syntax compatible nearly everywhere but more flexible
- better property parsing (you can now set enums by name or nick)
- uses locked_state to allow for delayed pads
- can connect video pipelines without the need for queues
- allows properties on bins
- does not return a bin, but an element.
You may want to read docs/random/company/gstparse to learn how it works.
Diffstat (limited to 'gst/gstparse.h')
-rw-r--r-- | gst/gstparse.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/gstparse.h b/gst/gstparse.h index a56f75c164..e647bfa70b 100644 --- a/gst/gstparse.h +++ b/gst/gstparse.h @@ -37,12 +37,13 @@ typedef enum GST_PARSE_ERROR_SYNTAX, GST_PARSE_ERROR_NO_SUCH_ELEMENT, GST_PARSE_ERROR_NO_SUCH_PROPERTY, - GST_PARSE_ERROR_LINK + GST_PARSE_ERROR_LINK, + GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY, } GstParseError; -GstBin* gst_parse_launch (const gchar *pipeline_description, GError **error); -GstBin* gst_parse_launchv (const gchar **argv, GError **error); +GstElement* gst_parse_launch (const gchar *pipeline_description, GError **error); +GstElement* gst_parse_launchv (const gchar **argv, GError **error); #else /* GST_DISABLE_PARSE */ |