From 3adc3a9878907809da7dfb47bfc3de2645c35b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 23 Aug 2007 21:39:58 +0000 Subject: Rename all GstRTPFoo structs to GstRtpFoo so that GST_BOILERPLATE registers a GType that's different than the GstRTPF... Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/gst-plugins-bad-plugins.interfaces: * docs/plugins/gst-plugins-bad-plugins.signals: * gst/rtpmanager/gstrtpbin.c: * gst/rtpmanager/gstrtpbin.h: * gst/rtpmanager/gstrtpclient.c: * gst/rtpmanager/gstrtpclient.h: * gst/rtpmanager/gstrtpjitterbuffer.c: * gst/rtpmanager/gstrtpjitterbuffer.h: * gst/rtpmanager/gstrtpptdemux.c: * gst/rtpmanager/gstrtpptdemux.h: * gst/rtpmanager/gstrtpsession.c: * gst/rtpmanager/gstrtpsession.h: * gst/rtpmanager/gstrtpssrcdemux.c: * gst/rtpmanager/gstrtpssrcdemux.h: Rename all GstRTPFoo structs to GstRtpFoo so that GST_BOILERPLATE registers a GType that's different than the GstRTPFoo types that farsight registers (luckily GType names are case sensitive). Should finally fix #430664. --- gst/rtpmanager/gstrtpsession.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'gst/rtpmanager/gstrtpsession.h') diff --git a/gst/rtpmanager/gstrtpsession.h b/gst/rtpmanager/gstrtpsession.h index 6c9fb774..87f8ea7a 100644 --- a/gst/rtpmanager/gstrtpsession.h +++ b/gst/rtpmanager/gstrtpsession.h @@ -25,20 +25,20 @@ #define GST_TYPE_RTP_SESSION \ (gst_rtp_session_get_type()) #define GST_RTP_SESSION(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_SESSION,GstRTPSession)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_SESSION,GstRtpSession)) #define GST_RTP_SESSION_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_SESSION,GstRTPSessionClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_SESSION,GstRtpSessionClass)) #define GST_IS_RTP_SESSION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_SESSION)) #define GST_IS_RTP_SESSION_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_SESSION)) -#define GST_RTP_SESSION_CAST(obj) ((GstRTPSession *)(obj)) +#define GST_RTP_SESSION_CAST(obj) ((GstRtpSession *)(obj)) -typedef struct _GstRTPSession GstRTPSession; -typedef struct _GstRTPSessionClass GstRTPSessionClass; -typedef struct _GstRTPSessionPrivate GstRTPSessionPrivate; +typedef struct _GstRtpSession GstRtpSession; +typedef struct _GstRtpSessionClass GstRtpSessionClass; +typedef struct _GstRtpSessionPrivate GstRtpSessionPrivate; -struct _GstRTPSession { +struct _GstRtpSession { GstElement element; /*< private >*/ @@ -51,22 +51,22 @@ struct _GstRTPSession { GstPad *send_rtp_src; GstPad *send_rtcp_src; - GstRTPSessionPrivate *priv; + GstRtpSessionPrivate *priv; }; -struct _GstRTPSessionClass { +struct _GstRtpSessionClass { GstElementClass parent_class; /* signals */ - GstCaps* (*request_pt_map) (GstRTPSession *sess, guint pt); - void (*clear_pt_map) (GstRTPSession *sess); + GstCaps* (*request_pt_map) (GstRtpSession *sess, guint pt); + void (*clear_pt_map) (GstRtpSession *sess); - void (*on_new_ssrc) (GstRTPSession *sess, guint32 ssrc); - void (*on_ssrc_collision) (GstRTPSession *sess, guint32 ssrc); - void (*on_ssrc_validated) (GstRTPSession *sess, guint32 ssrc); - void (*on_bye_ssrc) (GstRTPSession *sess, guint32 ssrc); - void (*on_bye_timeout) (GstRTPSession *sess, guint32 ssrc); - void (*on_timeout) (GstRTPSession *sess, guint32 ssrc); + void (*on_new_ssrc) (GstRtpSession *sess, guint32 ssrc); + void (*on_ssrc_collision) (GstRtpSession *sess, guint32 ssrc); + void (*on_ssrc_validated) (GstRtpSession *sess, guint32 ssrc); + void (*on_bye_ssrc) (GstRtpSession *sess, guint32 ssrc); + void (*on_bye_timeout) (GstRtpSession *sess, guint32 ssrc); + void (*on_timeout) (GstRtpSession *sess, guint32 ssrc); }; GType gst_rtp_session_get_type (void); -- cgit v1.2.1