summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpgsmdepay.h
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2005-10-25 15:07:02 +0000
committerZeeshan Ali <zeenix@gmail.com>2005-10-25 15:07:02 +0000
commit240bea74177ed0d4a5cd333ed8e35a5cd1606997 (patch)
tree0c4cc6b461c376f71c3431783e64c716a93c9bda /gst/rtp/gstrtpgsmdepay.h
parent4f40e2e01e913e7005d8f85d3c4694e8366c59d6 (diff)
Getting the GSM (de)payloader working and compatible with our plans for RTP.
Original commit message from CVS: Getting the GSM (de)payloader working and compatible with our plans for RTP.
Diffstat (limited to 'gst/rtp/gstrtpgsmdepay.h')
-rw-r--r--gst/rtp/gstrtpgsmdepay.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/gst/rtp/gstrtpgsmdepay.h b/gst/rtp/gstrtpgsmdepay.h
index 19bd5b28..5cb5162d 100644
--- a/gst/rtp/gstrtpgsmdepay.h
+++ b/gst/rtp/gstrtpgsmdepay.h
@@ -21,26 +21,27 @@
#define __GST_RTP_GSM_PARSE_H__
#include <gst/gst.h>
+#include <gst/rtp/gstbasertpdepayload.h>
G_BEGIN_DECLS
-typedef struct _GstRtpGSMParse GstRtpGSMParse;
-typedef struct _GstRtpGSMParseClass GstRtpGSMParseClass;
+typedef struct _GstRTPGSMParse GstRTPGSMParse;
+typedef struct _GstRTPGSMParseClass GstRTPGSMParseClass;
#define GST_TYPE_RTP_GSM_PARSE \
(gst_rtpgsmparse_get_type())
#define GST_RTP_GSM_PARSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_GSM_PARSE,GstRtpGSMParse))
+ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_GSM_PARSE,GstRTPGSMParse))
#define GST_RTP_GSM_PARSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_GSM_PARSE,GstRtpGSMParse))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_GSM_PARSE,GstRTPGSMParse))
#define GST_IS_RTP_GSM_PARSE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_GSM_PARSE))
#define GST_IS_RTP_GSM_PARSE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_GSM_PARSE))
-struct _GstRtpGSMParse
+struct _GstRTPGSMParse
{
- GstElement element;
+ GstBaseRTPDepayload depayload;
GstPad *sinkpad;
GstPad *srcpad;
@@ -48,9 +49,9 @@ struct _GstRtpGSMParse
guint frequency;
};
-struct _GstRtpGSMParseClass
+struct _GstRTPGSMParseClass
{
- GstElementClass parent_class;
+ GstBaseRTPDepayloadClass parent_class;
};
gboolean gst_rtpgsmparse_plugin_init (GstPlugin * plugin);