diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-31 15:56:32 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-31 15:56:32 +0000 |
commit | fcb5bb22d59986194882b54bdc2719237949476d (patch) | |
tree | 2e32833ecf8cb2280cc68e7c959e8ba8542df0f4 /gst-libs/gst/play/play.h | |
parent | 4ec44f3b01f31a18c40162212bba83e3753686a0 (diff) | |
download | gst-plugins-bad-fcb5bb22d59986194882b54bdc2719237949476d.tar.gz gst-plugins-bad-fcb5bb22d59986194882b54bdc2719237949476d.tar.bz2 gst-plugins-bad-fcb5bb22d59986194882b54bdc2719237949476d.zip |
add error handling
Original commit message from CVS:
add error handling
Diffstat (limited to 'gst-libs/gst/play/play.h')
-rw-r--r-- | gst-libs/gst/play/play.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gst-libs/gst/play/play.h b/gst-libs/gst/play/play.h index 484b7bc0..558c96ff 100644 --- a/gst-libs/gst/play/play.h +++ b/gst-libs/gst/play/play.h @@ -23,6 +23,11 @@ #include <gst/gst.h> #include <gst/xoverlay/xoverlay.h> +/* GError stuff */ + +#define GST_PLAY_ERROR gst_play_error_quark () +/* GObject stuff */ + #define GST_TYPE_PLAY (gst_play_get_type()) #define GST_PLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_PLAY, GstPlay)) #define GST_PLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_PLAY, GstPlayClass)) @@ -62,7 +67,7 @@ struct _GstPlayClass }; GType gst_play_get_type (void); -GstPlay * gst_play_new (void); +GstPlay * gst_play_new (GError **error); gboolean gst_play_set_data_src (GstPlay *play, GstElement *data_src); @@ -82,7 +87,7 @@ char * gst_play_get_location (GstPlay *play); gboolean gst_play_seek_to_time (GstPlay *play, gint64 time_nanos); - + GstElement * gst_play_get_sink_element (GstPlay *play, GstElement *element, GstPlaySinkType sink_type); |