diff options
author | Maciej Katafiasz <mathrick@mathrick.org> | 2004-12-22 18:57:29 +0000 |
---|---|---|
committer | Maciej Katafiasz <mathrick@mathrick.org> | 2004-12-22 18:57:29 +0000 |
commit | 27efd6e0540675a5a0027b49d52175983bddd030 (patch) | |
tree | ed8287e5706104f3ceb712dddaeecf4e2d652c97 /ext/libmms/gstmms.h | |
parent | ab2227a3d199715fcf69c7ca24f9ee4663b8cf34 (diff) | |
download | gst-plugins-bad-27efd6e0540675a5a0027b49d52175983bddd030.tar.gz gst-plugins-bad-27efd6e0540675a5a0027b49d52175983bddd030.tar.bz2 gst-plugins-bad-27efd6e0540675a5a0027b49d52175983bddd030.zip |
First commit. To my knowledge should be in working state, playbin is supported, apart from small warning when setting...
Original commit message from CVS:
First commit. To my knowledge should be in working state, playbin
is supported, apart from small warning when setting URI.
Diffstat (limited to 'ext/libmms/gstmms.h')
-rw-r--r-- | ext/libmms/gstmms.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ext/libmms/gstmms.h b/ext/libmms/gstmms.h new file mode 100644 index 00000000..13954f14 --- /dev/null +++ b/ext/libmms/gstmms.h @@ -0,0 +1,48 @@ +/* + * gstmms.h: header file for gst-mms plugin + */ + +#ifndef __GST_MMS_H__ +#define __GST_MMS_H__ + +#include <gst/gst.h> +#include <libmms/mms.h> + +G_BEGIN_DECLS + +/* #define's don't like whitespacey bits */ +#define GST_TYPE_MMS \ + (gst_mms_get_type()) +#define GST_MMS(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MMS,GstMMS)) +#define GST_MMS_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MMS,GstMMS)) +#define GST_IS_MMS(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MMS)) +#define GST_IS_MMS_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MMS)) + +typedef struct _GstMMS GstMMS; +typedef struct _GstMMSClass GstMMSClass; + +struct _GstMMS +{ + GstElement element; + + GstPad *srcpad; + + gchar *uri_name; + gpointer connection; + gint blocksize; +}; + +struct _GstMMSClass +{ + GstElementClass parent_class; +}; + +GType gst_mms_get_type (void); + +G_END_DECLS + +#endif /* __GST_MMS_H__ */ |