diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2005-09-15 13:57:56 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2005-09-15 13:57:56 +0000 |
commit | fc158bc3c2739eabfb092f7a45f6656ac8c96e25 (patch) | |
tree | 199f9ea3d2fddfcbc8315e95d6fe17c2e9936cd5 /gst/rtp/gstrtpgsmdepay.h | |
parent | c7468729e9e05fa3cbcf6ee1fbbd578c516e2200 (diff) |
Updates to payloader/depayloaders, make payloaders use the base classes.
Original commit message from CVS:
Updates to payloader/depayloaders, make payloaders use
the base classes.
Updated README with suggested RTP caps and how to convert
to/from SDP.
Added config descriptor in mp4v payloader.
Diffstat (limited to 'gst/rtp/gstrtpgsmdepay.h')
-rw-r--r-- | gst/rtp/gstrtpgsmdepay.h | 42 |
1 files changed, 16 insertions, 26 deletions
diff --git a/gst/rtp/gstrtpgsmdepay.h b/gst/rtp/gstrtpgsmdepay.h index 0a006e70..19bd5b28 100644 --- a/gst/rtp/gstrtpgsmdepay.h +++ b/gst/rtp/gstrtpgsmdepay.h @@ -21,16 +21,23 @@ #define __GST_RTP_GSM_PARSE_H__ #include <gst/gst.h> -#include "rtp-packet.h" -#include "gstrtp-common.h" -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +G_BEGIN_DECLS -/* Definition of structure storing data for this element. */ 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)) +#define GST_RTP_GSM_PARSE_CLASS(klass) \ + (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 { GstElement element; @@ -41,30 +48,13 @@ struct _GstRtpGSMParse guint frequency; }; -/* Standard definition defining a class for this element. */ -typedef struct _GstRtpGSMParseClass GstRtpGSMParseClass; struct _GstRtpGSMParseClass { GstElementClass parent_class; }; -/* Standard macros for defining types for this element. */ -#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)) -#define GST_RTP_GSM_PARSE_CLASS(klass) \ - (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)) - gboolean gst_rtpgsmparse_plugin_init (GstPlugin * plugin); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS -#endif /* __GST_RTP_GSM_PARSE_H__ */ +#endif /* __GST_RTP_GSM_PARSE_H__ */ |