2004-12-22 18:57:29 +00:00
|
|
|
/*
|
|
|
|
* gstmms.h: header file for gst-mms plugin
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_MMS_H__
|
|
|
|
#define __GST_MMS_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2009-01-23 10:50:29 +00:00
|
|
|
#include <libmms/mmsx.h>
|
2005-11-29 02:55:18 +00:00
|
|
|
#include <gst/base/gstpushsrc.h>
|
2004-12-22 18:57:29 +00:00
|
|
|
|
|
|
|
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) \
|
2006-03-10 13:49:23 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MMS,GstMMSClass))
|
2004-12-22 18:57:29 +00:00
|
|
|
#define GST_IS_MMS(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MMS))
|
2006-03-10 13:49:23 +00:00
|
|
|
#define GST_IS_MMS_CLASS(klass) \
|
2004-12-22 18:57:29 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MMS))
|
|
|
|
|
|
|
|
typedef struct _GstMMS GstMMS;
|
|
|
|
typedef struct _GstMMSClass GstMMSClass;
|
|
|
|
|
|
|
|
struct _GstMMS
|
|
|
|
{
|
2005-11-29 02:55:18 +00:00
|
|
|
GstPushSrc parent;
|
2004-12-22 18:57:29 +00:00
|
|
|
|
2007-05-31 19:12:37 +00:00
|
|
|
gchar *uri_name;
|
2009-01-23 10:50:29 +00:00
|
|
|
gchar *current_connection_uri_name;
|
2011-11-24 01:22:13 +00:00
|
|
|
guint64 connection_speed;
|
2007-08-08 15:15:56 +00:00
|
|
|
|
2009-01-23 10:50:29 +00:00
|
|
|
mmsx_t *connection;
|
2004-12-22 18:57:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _GstMMSClass
|
|
|
|
{
|
2005-11-29 02:55:18 +00:00
|
|
|
GstPushSrcClass parent_class;
|
2004-12-22 18:57:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
GType gst_mms_get_type (void);
|
|
|
|
|
2021-02-18 08:52:08 +00:00
|
|
|
GST_ELEMENT_REGISTER_DECLARE (mmssrc);
|
|
|
|
|
2004-12-22 18:57:29 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GST_MMS_H__ */
|