mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
58cf5d9e62
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
51 lines
1 KiB
C
51 lines
1 KiB
C
/*
|
|
* gstmms.h: header file for gst-mms plugin
|
|
*/
|
|
|
|
#ifndef __GST_MMS_H__
|
|
#define __GST_MMS_H__
|
|
|
|
#include <gst/gst.h>
|
|
#include <libmms/mmsx.h>
|
|
#include <gst/base/gstpushsrc.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,GstMMSClass))
|
|
#define GST_IS_MMS(obj) \
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MMS))
|
|
#define GST_IS_MMS_CLASS(klass) \
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MMS))
|
|
|
|
typedef struct _GstMMS GstMMS;
|
|
typedef struct _GstMMSClass GstMMSClass;
|
|
|
|
struct _GstMMS
|
|
{
|
|
GstPushSrc parent;
|
|
|
|
gchar *uri_name;
|
|
gchar *current_connection_uri_name;
|
|
guint64 connection_speed;
|
|
|
|
mmsx_t *connection;
|
|
};
|
|
|
|
struct _GstMMSClass
|
|
{
|
|
GstPushSrcClass parent_class;
|
|
};
|
|
|
|
GType gst_mms_get_type (void);
|
|
|
|
GST_ELEMENT_REGISTER_DECLARE (mmssrc);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_MMS_H__ */
|