mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
e276fe38ba
Original commit message from CVS: * ext/libmms/gstmms.c: (gst_mms_urihandler_init), (gst_mms_base_init), (gst_mms_class_init), (gst_mms_init), (gst_mms_finalize), (gst_mms_create), (gst_mms_start), (gst_mms_set_property), (gst_mms_get_property), (gst_mms_uri_get_uri): * ext/libmms/gstmms.h: Some clean-ups; more debug output; use blocksize property of GstBaseSrc instead of re-registering our own; make debug category actually be used.
48 lines
962 B
C
48 lines
962 B
C
/*
|
|
* gstmms.h: header file for gst-mms plugin
|
|
*/
|
|
|
|
#ifndef __GST_MMS_H__
|
|
#define __GST_MMS_H__
|
|
|
|
#include <gst/gst.h>
|
|
#include <libmms/mms.h>
|
|
#include <libmms/mmsh.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;
|
|
gpointer connection;
|
|
gpointer connection_h;
|
|
};
|
|
|
|
struct _GstMMSClass
|
|
{
|
|
GstPushSrcClass parent_class;
|
|
};
|
|
|
|
GType gst_mms_get_type (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_MMS_H__ */
|